From 1e91ee8cf60220591934991c9e2ded4d24b99a49 Mon Sep 17 00:00:00 2001 From: CodeByMrFinchum Date: Mon, 10 Feb 2025 21:33:20 +0100 Subject: [PATCH] fix: Fixed bug with default exif file. --- 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 cf6411f..31c0b7f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,9 @@ # Changelog ## 0.12.x +### 0.12.4: Fixed EXIF File Generation Bug +- Fixed a bug where the application failed to generate a new default EXIF file if none was available. Now, the file is correctly created when missing. + ### 0.12.3: UI Adjustments - Minor changes to maintain a unified layout across all windows. - Added option to sync app theme with OS (if supported). diff --git a/src/OptimaLab35/utils/utility.py b/src/OptimaLab35/utils/utility.py index ff22625..75726a0 100644 --- a/src/OptimaLab35/utils/utility.py +++ b/src/OptimaLab35/utils/utility.py @@ -30,7 +30,7 @@ class Utilities: def _prepear_exif_config(self): """Prepear folder for config and generate default exif if non aviable""" if not os.path.isfile(self.exif_path): - self.default_exif(self.exif_path) + self.default_exif() def _ensure_program_folder_exists(self): if not os.path.exists(self.folder_path):