diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-08-17 15:34:08 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-08-17 15:34:08 +0200 |
commit | e921a8a45fa785db160d2b1e518e871028454d2f (patch) | |
tree | 018a10e5d742bbfdfa08f206efc892ccbf450685 /module/plugins/Plugin.py | |
parent | account update (diff) | |
download | pyload-e921a8a45fa785db160d2b1e518e871028454d2f.tar.xz |
cleaned pluginsv0.4
Diffstat (limited to 'module/plugins/Plugin.py')
-rw-r--r-- | module/plugins/Plugin.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/module/plugins/Plugin.py b/module/plugins/Plugin.py index dfdfbe4f6..ee823329c 100644 --- a/module/plugins/Plugin.py +++ b/module/plugins/Plugin.py @@ -241,10 +241,7 @@ class Plugin(object): download_folder = self.config['general']['download_folder'] - if self.config['general']['folder_per_package']: - location = join(download_folder, self.pyfile.package().folder.decode(sys.getfilesystemencoding())) - else: - location = download_folder + location = join(download_folder, self.pyfile.package().folder.decode(sys.getfilesystemencoding())) if not exists(location): makedirs(location) |