Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 15, 2024
1 parent dcd050b commit 586a087
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions plugin/teksi_wastewater/teksi_wastewater_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,9 @@ class TeksiWastewaterPlugin:
profile = None

def __init__(self, iface):
if (os.environ.get("QGIS_DEBUGPY_HAS_LOADED") is None
and QSettings().value("/TWW/DeveloperMode", False, type=bool)):
if os.environ.get("QGIS_DEBUGPY_HAS_LOADED") is None and QSettings().value(
"/TWW/DeveloperMode", False, type=bool
):
try:
import debugpy

Expand Down

0 comments on commit 586a087

Please sign in to comment.