diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-11-07 17:29:12 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-11-07 17:29:12 +0100 |
commit | 9f792129ac074a8a6dbdbd2a04deae9cbe83c121 (patch) | |
tree | 2c85f710c6766c1df803c242df062eafad290ed3 /module/plugins/hooks | |
parent | closed #418 (diff) | |
download | pyload-9f792129ac074a8a6dbdbd2a04deae9cbe83c121.tar.xz |
closed #422
Diffstat (limited to 'module/plugins/hooks')
-rw-r--r-- | module/plugins/hooks/ExtractArchive.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/module/plugins/hooks/ExtractArchive.py b/module/plugins/hooks/ExtractArchive.py index 23ae6c543..74721d166 100644 --- a/module/plugins/hooks/ExtractArchive.py +++ b/module/plugins/hooks/ExtractArchive.py @@ -160,7 +160,8 @@ class ExtractArchive(Hook): if self.getConfig("destination") and self.getConfig("destination").lower() != "none": if exists(self.getConfig("destination")): - out = save_join(self.getConfig("destination"), "") + out = save_join(dl, p.folder, self.getConfig("destination"), "") + #relative to package folder if destination is relative, otherwise absolute path overwrites them files_ids = [(save_join(dl, p.folder, x["name"]), x["id"]) for x in p.getChildren().itervalues()] |