summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/ShareonlineBiz.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/hoster/ShareonlineBiz.py
parentMerge pull request #1801 from Nippey/patch-1 (diff)
downloadpyload-4cd2b7390dd97dc2016ab71f954f191de12f2f46.tar.xz
Spare fixes (2)
Diffstat (limited to 'module/plugins/hoster/ShareonlineBiz.py')
-rw-r--r--module/plugins/hoster/ShareonlineBiz.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/ShareonlineBiz.py b/module/plugins/hoster/ShareonlineBiz.py
index b5af3ea35..dbe7fe401 100644
--- a/module/plugins/hoster/ShareonlineBiz.py
+++ b/module/plugins/hoster/ShareonlineBiz.py
@@ -79,7 +79,7 @@ class ShareonlineBiz(SimpleHoster):
post={'dl_free' : "1",
'recaptcha_challenge_field': challenge,
'recaptcha_response_field' : response})
- if not res == "0":
+ if res != "0":
self.captcha.correct()
return res
else:
@@ -136,7 +136,7 @@ class ShareonlineBiz(SimpleHoster):
self.log_debug(dlinfo)
- if not dlinfo['status'] == "online":
+ if dlinfo['status'] != "online":
self.offline()
else:
pyfile.name = dlinfo['name']