summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter/NCryptIn.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-08 15:38:01 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-08 15:38:01 +0200
commit02e3ede3edcf4415ac466fbea9d4f25d9ccc8671 (patch)
tree81084f9263f9229790e62097957d5132f18028e9 /module/plugins/crypter/NCryptIn.py
parent[UserAgentSwitcher] Random user-agent feature (diff)
downloadpyload-02e3ede3edcf4415ac466fbea9d4f25d9ccc8671.tar.xz
Spare code cosmetics
Diffstat (limited to 'module/plugins/crypter/NCryptIn.py')
-rw-r--r--module/plugins/crypter/NCryptIn.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/crypter/NCryptIn.py b/module/plugins/crypter/NCryptIn.py
index 7de2c0df7..8ceb9d3c8 100644
--- a/module/plugins/crypter/NCryptIn.py
+++ b/module/plugins/crypter/NCryptIn.py
@@ -108,7 +108,7 @@ class NCryptIn(Crypter):
def isProtected(self):
form = re.search(r'<form.*?name.*?protected.*?>(.*?)</form>', self.cleanedHtml, re.S)
- if form is not None:
+ if form:
content = form.group(1)
for keyword in ("password", "captcha"):
if keyword in content: