Skip to content

Commit

Permalink
import order fix
Browse files Browse the repository at this point in the history
  • Loading branch information
benvanbasten-ns committed Dec 2, 2024
1 parent c3a0f56 commit 6692fdd
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions threedi_schematisation_editor/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
from qgis.core import QgsApplication, QgsLayerTreeNode, QgsProject
from qgis.PyQt.QtGui import QCursor, QIcon
from qgis.PyQt.QtWidgets import QAction, QComboBox, QDialog, QMenu

from .deps.custom_imports import patch_wheel_imports

patch_wheel_imports()
from threedi_mi_utils.news import QgsNewsSettingsInjector

PLUGIN_DIR = Path(__file__).parent
Expand All @@ -30,8 +34,6 @@
remove_user_layers)
from threedi_schematisation_editor.workspace import WorkspaceContextManager

from .deps.custom_imports import patch_wheel_imports


def classFactory(iface):
return ThreediSchematisationEditorPlugin(iface)
Expand Down Expand Up @@ -60,7 +62,6 @@ def __init__(self, iface):
self.project.projectSaved.connect(self.on_3di_project_save)
self.iface.currentLayerChanged.connect(self.switch_workspace_context)

patch_wheel_imports()
# Inject custom news entries in settings
QgsNewsSettingsInjector().load(PLUGIN_DIR / "news_feed.json")

Expand Down

0 comments on commit 6692fdd

Please sign in to comment.