summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts
diff options
context:
space:
mode:
authorGravatar Shuralon <manu.aslan@live.de> 2015-01-11 14:24:16 +0100
committerGravatar Shuralon <manu.aslan@live.de> 2015-01-11 14:24:16 +0100
commitd8f74cb8e60fbdd65ead5ff20ea25f5b99858497 (patch)
tree4fde4fdaa174d671c7dbc30ceaa1974353af7ad8 /module/plugins/accounts
parentCode improvements (diff)
downloadpyload-d8f74cb8e60fbdd65ead5ff20ea25f5b99858497.tar.xz
Typo
Diffstat (limited to 'module/plugins/accounts')
-rw-r--r--module/plugins/accounts/RehostTo.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/accounts/RehostTo.py b/module/plugins/accounts/RehostTo.py
index 4efe38cad..897f888b0 100644
--- a/module/plugins/accounts/RehostTo.py
+++ b/module/plugins/accounts/RehostTo.py
@@ -6,7 +6,7 @@ from module.plugins.Account import Account
class RehostTo(Account):
__name__ = "RehostTo"
__type__ = "account"
- __version__ = "0.15"
+ __version__ = "0.16"
__description__ = """Rehost.to account plugin"""
__license__ = "GPLv3"
@@ -28,7 +28,7 @@ class RehostTo(Account):
html = req.load("http://rehost.to/api.php",
get={'cmd': "get_premium_credits", 'long_ses': session})
- if html.strip() == "0,0" or "ERROR" not in html:
+ if html.strip() == "0,0" or "ERROR" in html:
self.logDebug(html)
else:
traffic, valid = html.split(",")