Skip to content

Commit

Permalink
feature(settings): add app folder to settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Guts committed Aug 1, 2024
1 parent ee2a23b commit 6653a2e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions qtribu/toolbelt/preferences.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,15 @@

# standard
from dataclasses import asdict, dataclass, fields
from pathlib import Path

# PyQGIS
from qgis.core import QgsSettings

# package
import qtribu.toolbelt.log_handler as log_hdlr
from qtribu.__about__ import __title__, __version__
from qtribu.toolbelt.application_folder import get_app_dir

# ############################################################################
# ########## Classes ###############
Expand All @@ -26,6 +28,7 @@ class PlgSettingsStructure:
# global
debug_mode: bool = False
version: str = __version__
local_app_folder: Path = get_app_dir(dir_name="cache")

# RSS feed
rss_source: str = "https://geotribu.fr/feed_rss_created.xml"
Expand Down

0 comments on commit 6653a2e

Please sign in to comment.