summaryrefslogtreecommitdiffstats
path: root/module/plugins
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-08-21 17:33:10 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-08-21 17:33:10 +0200
commit7dc671b8bf301c2eae3ed7710bde6d0e37d75c61 (patch)
tree460fe33e499e36ebe49a33a12c72a26d6943c76e /module/plugins
parentgeneric multihoster plugin (diff)
downloadpyload-7dc671b8bf301c2eae3ed7710bde6d0e37d75c61.tar.xz
extended debug report
Diffstat (limited to 'module/plugins')
-rw-r--r--module/plugins/hooks/UnRar.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/module/plugins/hooks/UnRar.py b/module/plugins/hooks/UnRar.py
index d5dfa1998..7ace49a76 100644
--- a/module/plugins/hooks/UnRar.py
+++ b/module/plugins/hooks/UnRar.py
@@ -213,11 +213,6 @@ class UnRar(Hook):
if success:
self.core.log.info(_("Unrar of %s ok") % fname)
self.removeFiles(pack, fname)
- if self.core.config['general']['folder_per_package']:
- if self.getConfig("deletearchive"):
- self.core.log.debug(_("Deleting package directory %s...") % folder)
- rmdir(folder)
- self.core.log.debug(_("Package directory %s has been deleted.") % folder)
if os.name != "nt" and self.core.config['permission']['change_dl'] and\
self.core.config['permission']['change_file']: