fix creating sub-folders in plugins

This commit is contained in:
Yann Leboulanger
2013-08-30 11:36:46 +02:00
parent a94a1ebb4c
commit 8ea9b6cd5a
2 changed files with 2 additions and 1 deletions

View File

@@ -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: