[plugin_installer] update version

This commit is contained in:
Yann Leboulanger
2017-08-03 14:26:32 +02:00
parent 1e04f92abb
commit 4c3c4a2ad2
2 changed files with 2 additions and 2 deletions

View File

@@ -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>

View File

@@ -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)