summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter/LinkCryptWs.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-09-03 20:37:17 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-09-03 20:37:17 +0200
commit4cd2b7390dd97dc2016ab71f954f191de12f2f46 (patch)
tree774c8ae6c6e49d87034d9b697e140914b318db4d /module/plugins/crypter/LinkCryptWs.py
parentMerge pull request #1801 from Nippey/patch-1 (diff)
downloadpyload-4cd2b7390dd97dc2016ab71f954f191de12f2f46.tar.xz
Spare fixes (2)
Diffstat (limited to 'module/plugins/crypter/LinkCryptWs.py')
-rw-r--r--module/plugins/crypter/LinkCryptWs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/crypter/LinkCryptWs.py b/module/plugins/crypter/LinkCryptWs.py
index 557a63cbd..095ca0158 100644
--- a/module/plugins/crypter/LinkCryptWs.py
+++ b/module/plugins/crypter/LinkCryptWs.py
@@ -152,7 +152,7 @@ class LinkCryptWs(Crypter):
unrarpw = sitein[indexi:indexe]
- if not (unrarpw == "Password" or "Dateipasswort") :
+ if unrarpw not in ("Password", "Dateipasswort"):
self.log_debug("File password set to: [%s]"% unrarpw)
self.pyfile.package().password = unrarpw