Skip to content

Commit 092af85

Browse files
author
Daniel
committed
release-1.0.1
1 parent 001ea7d commit 092af85

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@
2626
__date__ = '2022-03-02'
2727
__copyright__ = '(C) 2022 by DPE'
2828

29+
__version__ = "1.0.1"
30+
2931
import sys
3032
from 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__)

geovita_processing_plugin.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,10 @@
3636

3737
class 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."""

0 commit comments

Comments
 (0)