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:
authorYann Leboulanger <yann@leboulanger.org>2017-08-03 15:26:32 +0300
committerYann Leboulanger <yann@leboulanger.org>2017-08-03 15:26:32 +0300
commit4c3c4a2ad256dcb97083319b1e6303ae85042311 (patch)
tree4dd17567122401bf052493acb929aef0c2e2981a
parent1e04f92abba6d86cd2a81842f6e2885bc33b4861 (diff)
[plugin_installer] update version
-rw-r--r--plugin_installer/manifest.ini2
-rw-r--r--plugin_installer/plugin_installer.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugin_installer/manifest.ini b/plugin_installer/manifest.ini
index 70ae7c8..a568203 100644
--- a/plugin_installer/manifest.ini
+++ b/plugin_installer/manifest.ini
@@ -1,7 +1,7 @@
[info]
name: Plugin Installer
short_name: plugin_installer
-version: 0.18
+version: 0.19
description: Install and upgrade plugins from ftp
authors: Denis Fomin <fominde@gmail.com>
Yann Leboulanger <asterix@lagaule.org>
diff --git a/plugin_installer/plugin_installer.py b/plugin_installer/plugin_installer.py
index 8bc210f..2ad7a00 100644
--- a/plugin_installer/plugin_installer.py
+++ b/plugin_installer/plugin_installer.py
@@ -456,7 +456,7 @@ class DownloadAsync(threading.Thread):
max_v = plugin.get('max_gajim_version', None)
max_v = V(max_v) if max_v else gajim_v
if (V(plugin['version']) > V(local_version)) and \
- gajim_v >= min_v and gajim_v <= max_v:
+ (gajim_v >= min_v) and (gajim_v <= max_v):
to_update.append(plugin['name'])
GLib.idle_add(self.plugin.warn_update, to_update)