fix auto-update

This commit is contained in:
Yann Leboulanger
2012-08-16 14:26:56 +02:00
parent 4389d66930
commit 5ef6c2171c
2 changed files with 2 additions and 2 deletions

View File

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