From 19acf11b1a060d6e3d4b052ff7cc1dc2fa199334 Mon Sep 17 00:00:00 2001 From: Marco Dalla Tiezza Date: Mon, 10 Jun 2024 21:30:28 +0200 Subject: [PATCH] Fixed a potential bug affecting ARM architecture --- .gitignore | 3 +++ artemis/utils/path_utils.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 4370c61..4071483 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,6 @@ data/ *.qtds artemis_rc.py site +Generated +app.build +app.dist diff --git a/artemis/utils/path_utils.py b/artemis/utils/path_utils.py index c927ef7..aa7ffd9 100644 --- a/artemis/utils/path_utils.py +++ b/artemis/utils/path_utils.py @@ -21,7 +21,7 @@ def _app_dir(): elif is_linux(): app_dir_path = Path.home() / '.local' / 'share' / Constants.ORGANIZATION_NAME / Constants.APPLICATION_NAME else: - app_dir_path = BASE_DIR + app_dir_path = BASE_DIR.resolve() if not app_dir_path.exists(): app_dir_path.mkdir(parents=True)