diff --git a/.gitignore b/.gitignore index 1e48aec..eccb786 100644 --- a/.gitignore +++ b/.gitignore @@ -10,4 +10,5 @@ build /mum_list *.c -*.bat \ No newline at end of file +*.bat +*.json \ No newline at end of file diff --git a/common.py b/common.py index fa6097c..5692b70 100644 --- a/common.py +++ b/common.py @@ -43,7 +43,7 @@ def get_config(config_name): exe_dir = os.path.dirname(os.path.abspath(sys.executable)) else: exe_dir = os.path.dirname(os.path.abspath(__file__)) - config_path = formatting_path(os.path.dirname(exe_dir))+"config.json" + config_path = formatting_path(exe_dir)+"config.json" if not os.path.exists(config_path): return "" elif not os.path.isfile(config_path):