From 63422ccd88b60b72b545bad1b1dd9b0fecdd94f8 Mon Sep 17 00:00:00 2001 From: Mr Finchum Date: Sun, 30 Mar 2025 19:29:54 +0200 Subject: [PATCH] fix: fixed app path --- CHANGELOG.md | 3 +++ src/OptimaLab35/utils/utility.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 10fef5e..c498256 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,9 @@ # Changelog ## 1.3.x +### 1.3.2 Fix - Fixed problem with app folders +- Fixed a problem that the app folder path was not generated correctly. + ### 1.3.1: Fix - Fixed insert exif not working - Fixed the feature that inserted exif into images without modifying them. diff --git a/src/OptimaLab35/utils/utility.py b/src/OptimaLab35/utils/utility.py index 75726a0..3f71698 100644 --- a/src/OptimaLab35/utils/utility.py +++ b/src/OptimaLab35/utils/utility.py @@ -3,7 +3,7 @@ import os class Utilities: def __init__(self, app_folder_path): - self.folder_path = app_folder_path + self.folder_path = os.path.expanduser(app_folder_path) self._ensure_program_folder_exists() self.exif_path = os.path.expanduser(f"{app_folder_path}/exif.yaml") self.settings_path = os.path.expanduser(f"{app_folder_path}/settings.yaml")