fix creating sub-folders in plugins
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.12.1
|
version: 0.12.2
|
||||||
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>
|
||||||
|
|||||||
@@ -619,6 +619,7 @@ class Ftp(threading.Thread):
|
|||||||
|
|
||||||
# creating dirs
|
# creating dirs
|
||||||
for dir_ in dirs:
|
for dir_ in dirs:
|
||||||
|
dir_ = dir_.replace(self.plugin.server_folder, 'plugins')
|
||||||
try:
|
try:
|
||||||
os.mkdir(os.path.join(local_dir, dir_))
|
os.mkdir(os.path.join(local_dir, dir_))
|
||||||
except OSError as e:
|
except OSError as e:
|
||||||
|
|||||||
Reference in New Issue
Block a user