Commit 8ea9b6cd authored by Yann Leboulanger's avatar Yann Leboulanger

fix creating sub-folders in plugins

parent a94a1ebb
[info]
name: Plugin Installer
short_name: plugin_installer
version: 0.12.1
version: 0.12.2
description: Install and upgrade plugins from ftp
authors: Denis Fomin <fominde@gmail.com>
Yann Leboulanger <asterix@lagaule.org>
......
......@@ -619,6 +619,7 @@ class Ftp(threading.Thread):
# creating dirs
for dir_ in dirs:
dir_ = dir_.replace(self.plugin.server_folder, 'plugins')
try:
os.mkdir(os.path.join(local_dir, dir_))
except OSError as e:
......
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