mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
don't set cwd on import
This commit is contained in:
@@ -8,7 +8,8 @@ import atexit
|
||||
import sys
|
||||
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.")
|
||||
|
||||
|
Reference in New Issue
Block a user