diff options
author | Jens Hörnlein <jens.hoernlein@googlemail.com> | 2015-02-08 17:03:27 +0100 |
---|---|---|
committer | Jens Hörnlein <jens.hoernlein@googlemail.com> | 2015-02-09 23:36:28 +0100 |
commit | 25fc80b4e973049ff85122fefac9fbf8c2bf4c45 (patch) | |
tree | 4fb4485a445b8f39ba04f1273dba71d9cc38fc92 /module | |
parent | [ExtractArchive] correct fullpath behavior, bugfix (diff) | |
download | pyload-25fc80b4e973049ff85122fefac9fbf8c2bf4c45.tar.xz |
[ExtractArchive] don't try '' as password
Diffstat (limited to 'module')
-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 6c0177ae9..a0c0ca366 100644 --- a/module/plugins/hooks/ExtractArchive.py +++ b/module/plugins/hooks/ExtractArchive.py @@ -104,7 +104,7 @@ class ArchiveQueue(object): class ExtractArchive(Hook): __name__ = "ExtractArchive" __type__ = "hook" - __version__ = "1.27" + __version__ = "1.28" __config__ = [("activated" , "bool" , "Activated" , True ), ("fullpath" , "bool" , "Extract with full paths" , True ), @@ -392,7 +392,7 @@ class ExtractArchive(Hook): if not encrypted or not self.getConfig("usepasswordfile"): archive.extract(password) else: - for pw in uniqify([password] + self.getPasswords(False)): + for pw in filter(None, uniqify([password] + self.getPasswords(False))): try: self.logDebug("Try password: %s" % pw) |