diff --git a/qlyrx_styler.py b/qlyrx_styler.py index ff315ca..97f87c6 100644 --- a/qlyrx_styler.py +++ b/qlyrx_styler.py @@ -633,6 +633,7 @@ def parseSymbolLayerSolidFill(self, layers): return colors def generalise_geom_type(self, layer): + geometry_type_str = QgsWkbTypes.displayString(layer.wkbType()) geometry_type_str = QgsWkbTypes.displayString(int(layer.wkbType())) geometry_type = layer.wkbType() geometry_general_type_str = geometry_type_str.replace('Multi', '').lower()