Skip to content

Commit

Permalink
Merge pull request #161 from MIERUNE/fix/install-error
Browse files Browse the repository at this point in the history
Fix plugin installation
  • Loading branch information
Kanahiro authored Nov 2, 2023
2 parents 5ae3f50 + 5a60831 commit eeac579
Show file tree
Hide file tree
Showing 9 changed files with 8 additions and 8 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion translator/raster/process.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from PyQt5.QtCore import QSize
from PyQt5.QtGui import QColor

from utils import write_json
from plugx_utils import write_json
from translator.utils import get_blend_mode_string


Expand Down
2 changes: 1 addition & 1 deletion translator/vector/label.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from qgis.core import QgsVectorLayer, QgsRectangle
from qgis.utils import iface

from utils import write_json
from plugx_utils import write_json


def generate_label_json(
Expand Down
2 changes: 1 addition & 1 deletion translator/vector/process.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
is_included_unsupported_symbol_layer,
)

from utils import write_json
from plugx_utils import write_json
from translator.utils import get_blend_mode_string

MAX_NB_SYMBOL_CLASSES = 1500
Expand Down
2 changes: 1 addition & 1 deletion translator/vector/symbol/fill.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from qgis.core import QgsSymbolLayer
from utils import convert_to_point
from plugx_utils import convert_to_point
from PyQt5.QtCore import Qt
from translator.vector.symbol.utils import to_rgba
from translator.vector.symbol.penstyle import get_penstyle_from
Expand Down
2 changes: 1 addition & 1 deletion translator/vector/symbol/line.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from qgis.core import QgsSymbolLayer
from utils import convert_to_point
from plugx_utils import convert_to_point

from .marker import get_point_symbol_data
from translator.vector.symbol.utils import to_rgba
Expand Down
2 changes: 1 addition & 1 deletion translator/vector/symbol/marker.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from PyQt5.QtGui import QColor
from typing import Union, Tuple

from utils import convert_to_point
from plugx_utils import convert_to_point
from translator.vector.symbol.utils import get_asset_name, to_rgba
from translator.vector.symbol.penstyle import get_penstyle_from

Expand Down
2 changes: 1 addition & 1 deletion translator/vector/symbol/penstyle.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
)
from qgis.PyQt.QtCore import Qt

from utils import convert_to_point
from plugx_utils import convert_to_point

PRESET_DASHPATTERN_MULTIPLIER = {
Qt.DashLine: [4, 2], # ---- ---- ----...
Expand Down
2 changes: 1 addition & 1 deletion ui/main_dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
from translator.vector.label import generate_label_vector
from ui.progress_dialog import ProgressDialog
from translator.thread import ProcessingThread
from utils import write_json, get_tempdir
from plugx_utils import write_json, get_tempdir
from scale import get_scale_from_canvas, set_map_extent_from


Expand Down

0 comments on commit eeac579

Please sign in to comment.