From d8f74cb8e60fbdd65ead5ff20ea25f5b99858497 Mon Sep 17 00:00:00 2001 From: Shuralon Date: Sun, 11 Jan 2015 14:24:16 +0100 Subject: Typo --- module/plugins/accounts/RehostTo.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'module/plugins/accounts') 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(",") -- cgit v1.2.3