Skip to content

Commit

Permalink
fix: move Windows default source dir up
Browse files Browse the repository at this point in the history
  • Loading branch information
Crissium committed Aug 17, 2024
1 parent faec28b commit 9f40431
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/app/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ class Settings:

MISC_CONFIGS_FILE = os.path.join(APP_RESOURCES_ROOT, 'misc.yaml')
if sys.platform == 'win32':
project_root_dir = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
project_root_dir = os.path.dirname(os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))))
DEFAULT_SOURCE_DIR = os.path.join(project_root_dir, 'source')
else:
DEFAULT_SOURCE_DIR = os.path.join(APP_RESOURCES_ROOT, 'source')
Expand Down

0 comments on commit 9f40431

Please sign in to comment.