diff options
author | Yann Leboulanger <asterix@lagaule.org> | 2013-08-30 13:36:46 +0400 |
---|---|---|
committer | Yann Leboulanger <asterix@lagaule.org> | 2013-08-30 13:36:46 +0400 |
commit | 8ea9b6cd5aa4724f739067ae39063899f3aaf49a (patch) | |
tree | 266f40e0e737ab171d749704ccb55482f5b88a77 | |
parent | a94a1ebb4c16a1d5e3473055aa9dc0146e1ffcbb (diff) |
fix creating sub-folders in plugins
-rw-r--r-- | plugin_installer/manifest.ini | 2 | ||||
-rw-r--r-- | plugin_installer/plugin_installer.py | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/plugin_installer/manifest.ini b/plugin_installer/manifest.ini index c50a27d..bc19015 100644 --- a/plugin_installer/manifest.ini +++ b/plugin_installer/manifest.ini @@ -1,7 +1,7 @@ [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> diff --git a/plugin_installer/plugin_installer.py b/plugin_installer/plugin_installer.py index ce97653..7b63958 100644 --- a/plugin_installer/plugin_installer.py +++ b/plugin_installer/plugin_installer.py @@ -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: |