fix auto-update
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
[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):
|
|||||||
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:
|
||||||
|
|||||||
Reference in New Issue
Block a user