File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 2626__date__ = '2022-03-02'
2727__copyright__ = '(C) 2022 by DPE'
2828
29+ __version__ = "1.0.1"
30+
2931import sys
3032from pathlib import Path
3133
@@ -50,4 +52,4 @@ def classFactory(iface): # pylint: disable=invalid-name
5052
5153 # Now you can import your main plugin class
5254 from .geovita_processing_plugin import GeovitaProcessingPluginPlugin
53- return GeovitaProcessingPluginPlugin ()
55+ return GeovitaProcessingPluginPlugin (iface , __version__ )
Original file line number Diff line number Diff line change 3636
3737class GeovitaProcessingPluginPlugin (object ):
3838
39- def __init__ (self ):
39+ def __init__ (self , iface , version ):
4040 self .provider = None
41+ self .iface = iface
42+ self .version = version
4143
4244 def initProcessing (self ):
4345 """Init Processing provider for QGIS >= 3.8."""
You can’t perform that action at this time.
0 commit comments