Commit be3f2d16 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

[Thilo Molitor] Ability to separate plugins dir when using -s option.

parent 9794deea
name: Plugin Installer
short_name: plugin_installer
version: 0.20.0
version: 0.20.1
description: Install and upgrade plugins from ftp
authors: Denis Fomin <>
Yann Leboulanger <>
......@@ -528,7 +528,7 @@ class DownloadAsync(threading.Thread):
local_dir = os.path.join(user_dir, remote_dir)
if not os.path.isdir(local_dir):
local_dir = os.path.split(user_dir)[0]
local_dir = os.path.dirname(local_dir)
# downloading zip file
......@@ -538,7 +538,7 @@ class DownloadAsync(threading.Thread):
log.exception("Error downloading plugin %s" % filename)
with ZipFile(buf) as zip_file:
zip_file.extractall(os.path.join(local_dir, 'plugins'))
GLib.idle_add(self.plugin.on_plugin_downloaded, self.remote_dirs)
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