From 4c3c4a2ad256dcb97083319b1e6303ae85042311 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Thu, 3 Aug 2017 14:26:32 +0200 Subject: [PATCH] [plugin_installer] update version --- plugin_installer/manifest.ini | 2 +- plugin_installer/plugin_installer.py | 2 +- 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 Yann Leboulanger 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)