From 7dc671b8bf301c2eae3ed7710bde6d0e37d75c61 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Sun, 21 Aug 2011 17:33:10 +0200 Subject: extended debug report --- module/plugins/hooks/UnRar.py | 5 ----- 1 file changed, 5 deletions(-) (limited to 'module/plugins') 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']: -- cgit v1.2.3