Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim-plugins.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugin_installer/utils.py')
-rw-r--r--plugin_installer/utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin_installer/utils.py b/plugin_installer/utils.py
index 83a565f..ea88aa4 100644
--- a/plugin_installer/utils.py
+++ b/plugin_installer/utils.py
@@ -93,7 +93,7 @@ class PluginInfo:
def _get_installed_version(self):
for plugin in app.plugin_manager.plugins:
if plugin.name == self.name:
- return plugin.version
+ return V(plugin.version)
# Fallback:
# If the plugin has errors and is not loaded by the
@@ -110,7 +110,7 @@ class PluginInfo:
if not manifest_path.exists():
return None
try:
- return PluginInfo.from_path(manifest_path).version
+ return V(PluginInfo.from_path(manifest_path).version)
except Exception as error:
log.warning(error)
return None