We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be79d3f commit 377f1abCopy full SHA for 377f1ab
qtribu/resources/images/splash.png
189 KB
qtribu/toolbelt/log_handler.py
@@ -8,7 +8,7 @@
8
from qgis.utils import iface
9
10
# project package
11
-import qtribu.toolbelt.preferences
+import qtribu.toolbelt.preferences as plg_prefs_hdlr
12
from qtribu.__about__ import __title__
13
14
# ############################################################################
@@ -53,9 +53,7 @@ def log(
53
log(message="Plugin loaded - TEST", log_level=4, push=1)
54
"""
55
# if debug mode, let's ignore INFO, SUCCESS and TEST
56
- debug_mode = (
57
- qtribu.toolbelt.preferences.PlgOptionsManager.get_plg_settings().debug_mode
58
- )
+ debug_mode = plg_prefs_hdlr.PlgOptionsManager.get_plg_settings().debug_mode
59
if not debug_mode and (1 < log_level < 3 or not push):
60
return
61
0 commit comments