don't set cwd on import

This commit is contained in:
Fabian Dill 2020-03-06 04:52:21 +01:00
parent c6cd4a9681
commit 128be8df89
1 changed files with 2 additions and 1 deletions

View File

@ -8,7 +8,8 @@ import atexit
import sys import sys
import os import os
os.chdir(os.path.split(sys.argv[0])[0]) # set to local folder, so that options yamls can be found if __name__ == "__main__":
os.chdir(os.path.split(sys.argv[0])[0]) # set to local folder, so that options yamls can be found
exit_func = atexit.register(input, "Press enter to close.") exit_func = atexit.register(input, "Press enter to close.")