Commit 7c161d00 authored by Linus's avatar Linus
Browse files

plugin_installer: Fix potential crash on cert verify failure

parent 8574c1aa
......@@ -317,7 +317,9 @@ class PluginInstaller(GajimPlugin):
for i in range(len(self.available_plugins_model)):
self.available_plugins_model[i][C_UPGRADE] = False
WarningDialog(_('Ftp error'), error_text, self.window)
def warn():
WarningDialog(_('Ftp error'), error_text, self.window)
def on_plugin_downloaded(self, widget, plugin_dirs):
dialog = HigDialog(None, Gtk.MessageType.INFO, Gtk.ButtonsType.OK,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment