Merge branch 'fix/app_path' into 'main'
fix: fixed app path See merge request CodeByMrFinchum/OptimaLab35!52
This commit is contained in:
commit
ba4679e5e3
2 changed files with 4 additions and 1 deletions
|
@ -1,6 +1,9 @@
|
||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
## 1.3.x
|
## 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
|
### 1.3.1: Fix - Fixed insert exif not working
|
||||||
- Fixed the feature that inserted exif into images without modifying them.
|
- Fixed the feature that inserted exif into images without modifying them.
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@ import os
|
||||||
|
|
||||||
class Utilities:
|
class Utilities:
|
||||||
def __init__(self, app_folder_path):
|
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._ensure_program_folder_exists()
|
||||||
self.exif_path = os.path.expanduser(f"{app_folder_path}/exif.yaml")
|
self.exif_path = os.path.expanduser(f"{app_folder_path}/exif.yaml")
|
||||||
self.settings_path = os.path.expanduser(f"{app_folder_path}/settings.yaml")
|
self.settings_path = os.path.expanduser(f"{app_folder_path}/settings.yaml")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue