Skip to content
Snippets Groups Projects
Commit 5ef6c217 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

fix auto-update

parent 4389d669
No related branches found
No related tags found
No related merge requests found
[info] [info]
name: Plugin Installer name: Plugin Installer
short_name: plugin_installer short_name: plugin_installer
version: 0.9.3 version: 0.10.0
description: Install and upgrade plugins from ftp description: Install and upgrade plugins from ftp
authors: Denis Fomin <fominde@gmail.com> authors: Denis Fomin <fominde@gmail.com>
Yann Leboulanger <asterix@lagaule.org> Yann Leboulanger <asterix@lagaule.org>
......
...@@ -109,7 +109,7 @@ class PluginInstaller(GajimPlugin): ...@@ -109,7 +109,7 @@ class PluginInstaller(GajimPlugin):
to_update = [] to_update = []
con = self.ftp_connect() con = self.ftp_connect()
con.cwd('plugins') con.cwd('plugins')
self.ftp.retrbinary('RETR manifests.zip', ftp.handleDownload) con.retrbinary('RETR manifests.zip', ftp.handleDownload)
zip_file = zipfile.ZipFile(ftp.buffer_) zip_file = zipfile.ZipFile(ftp.buffer_)
manifest_list = zip_file.namelist() manifest_list = zip_file.namelist()
for filename in manifest_list: for filename in manifest_list:
......
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