Skip to content
Snippets Groups Projects
Commit 5608d5d9 authored by Dicson's avatar Dicson
Browse files

plugin_installer. coding style

parent 671ca27f
No related branches found
No related tags found
No related merge requests found
......@@ -285,8 +285,8 @@ class PluginInstaller(GajimPlugin):
if is_active and plugin.name != self.name:
gobject.idle_add(gajim.plugin_manager.activate_plugin, plugin)
if plugin.name != 'Plugin Installer':
version = gajim.version.split('-')[0]
if version == '0.15':
if gajim.version.split('-')[0] == '0.15':
# plugin do not have 'activatable' propetry in the Gajim 0.15
self.installed_plugins_model.append([plugin, plugin.name,
is_active])
else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment