summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGravatar Gutz-Pilz <hannes.mueller87@gmail.com> 2015-03-25 22:02:11 +0100
committerGravatar Gutz-Pilz <hannes.mueller87@gmail.com> 2015-03-25 22:02:11 +0100
commitf4f618f95a2348c8881ae455e1c8ad01ba3eae30 (patch)
treeb7ea8ad7056cc2395dc51839a196ee4472cab0d0 /module
parentMerge pull request #1285 from immenz/dev_extract (diff)
downloadpyload-f4f618f95a2348c8881ae455e1c8ad01ba3eae30.tar.xz
fixed "permanent" issue
(forgot to change filversion)
Diffstat (limited to 'module')
-rw-r--r--module/plugins/hooks/ExtractArchive.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hooks/ExtractArchive.py b/module/plugins/hooks/ExtractArchive.py
index c0fe22545..5d71e89ec 100644
--- a/module/plugins/hooks/ExtractArchive.py
+++ b/module/plugins/hooks/ExtractArchive.py
@@ -106,7 +106,7 @@ class ArchiveQueue(object):
class ExtractArchive(Hook):
__name__ = "ExtractArchive"
__type__ = "hook"
- __version__ = "1.36"
+ __version__ = "1.37"
__config__ = [("activated" , "bool" , "Activated" , True ),
("fullpath" , "bool" , "Extract with full paths" , True ),
@@ -471,7 +471,7 @@ class ExtractArchive(Hook):
file = fs_encode(f)
if os.path.exists(file) and self.trash:
send2trash(file)
- elif os.path.exists:
+ elif os.path.exists(file):
os.remove(file)
else:
self.logDebug("%s does not exists" % f)