summaryrefslogtreecommitdiffstats
path: root/module/plugins/Plugin.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/Plugin.py')
-rw-r--r--module/plugins/Plugin.py5
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)