diff options
| author | 2015-01-11 19:41:04 +0100 | |
|---|---|---|
| committer | 2015-01-11 19:41:04 +0100 | |
| commit | 24523c4fff9d1c28d965b3510c6426fa22a4aef5 (patch) | |
| tree | 869004bfc86d98343d206a3a11a3f67843c7c0a6 /module/plugins/accounts | |
| parent | [RapiduNet] Fix https://github.com/pyload/pyload/issues/1035 (diff) | |
| parent | [RehostTo] Fix version (diff) | |
| download | pyload-24523c4fff9d1c28d965b3510c6426fa22a4aef5.tar.xz | |
Merge pull request #1031 from Shuralon/stable
[RehostTo] Fixed
Diffstat (limited to 'module/plugins/accounts')
| -rw-r--r-- | module/plugins/accounts/RehostTo.py | 4 | 
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(",")  | 
