diff --git a/scrub_layer_class.py b/scrub_layer_class.py index 12365a2..8961138 100644 --- a/scrub_layer_class.py +++ b/scrub_layer_class.py @@ -18,13 +18,10 @@ class ScrubLayer: def __init__(self, qgis_path, layer_path, layer_name): self.qgis_path = qgis_path + # Set the path to QGIS installation QgsApplication.setPrefixPath(self.qgis_path, True) - # # Initialize QGIS application - # qgs = QgsApplication([], False) - # qgs.initQgis() - self.layer_path = layer_path self.layer_name = layer_name self.layer = self.load_layer()