diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-03-25 22:03:25 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-03-25 22:03:25 +0100 |
commit | 5d7639c1a4430a1d27bca0ebd849feb266470f16 (patch) | |
tree | b7ea8ad7056cc2395dc51839a196ee4472cab0d0 | |
parent | Merge pull request #1285 from immenz/dev_extract (diff) | |
parent | fixed "permanent" issue (diff) | |
download | pyload-5d7639c1a4430a1d27bca0ebd849feb266470f16.tar.xz |
Merge pull request #1288 from Gutz-Pilz/patch-2
fixed "permanent" issue
-rw-r--r-- | module/plugins/hooks/ExtractArchive.py | 4 |
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) |