Solved the issue #59

Calling the run function multiple times caused an error
This commit is contained in:
khashabri 2019-11-07 10:05:48 +01:00
parent ffcf5ee0a6
commit b86f514378

View File

@ -428,7 +428,6 @@ cdef class openEMS:
os.mkdir(sim_path)
if not os.path.exists(sim_path):
os.mkdir(sim_path)
cwd = os.getcwd()
os.chdir(sim_path)
if verbose is not None:
self.thisptr.SetVerboseLevel(verbose)