Skip to content

Commit 4df8c6d

Browse files
authored
fix settings (#187)
1 parent c2669d2 commit 4df8c6d

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

oqtopus/core/settings.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
from qgis.PyQt.QtCore import QSettings
22

3+
from ..utils.plugin_utils import PluginUtils
4+
35
try:
46
from qgis.core import (
57
QgsSettingsEntryBool,
@@ -11,7 +13,7 @@
1113
except ImportError:
1214
HAS_QGS_SETTINGS = False
1315

14-
PLUGIN_NAME = "oqtopus"
16+
PLUGIN_NAME = PluginUtils.PLUGIN_ID
1517

1618

1719
# ---------------------------------------------------------------------------

oqtopus/utils/plugin_utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
class PluginUtils:
4444

4545
PLUGIN_NAME = "oQtopus"
46+
PLUGIN_ID = "oqtopus"
4647

4748
logsDirectory = ""
4849

0 commit comments

Comments
 (0)