diff --git a/plugin_installer/manifest.ini b/plugin_installer/manifest.ini index 98dfb9b..2b24de2 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.9.3 +version: 0.10.0 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 498a520..5df0be8 100644 --- a/plugin_installer/plugin_installer.py +++ b/plugin_installer/plugin_installer.py @@ -109,7 +109,7 @@ class PluginInstaller(GajimPlugin): to_update = [] con = self.ftp_connect() con.cwd('plugins') - self.ftp.retrbinary('RETR manifests.zip', ftp.handleDownload) + con.retrbinary('RETR manifests.zip', ftp.handleDownload) zip_file = zipfile.ZipFile(ftp.buffer_) manifest_list = zip_file.namelist() for filename in manifest_list: