diff options
| -rw-r--r-- | module/plugins/accounts/HighWayMe.py | 4 | ||||
| -rw-r--r-- | module/plugins/hoster/HighWayMe.py | 4 | 
2 files changed, 4 insertions, 4 deletions
| diff --git a/module/plugins/accounts/HighWayMe.py b/module/plugins/accounts/HighWayMe.py index 3c2573e47..eba1b4692 100644 --- a/module/plugins/accounts/HighWayMe.py +++ b/module/plugins/accounts/HighWayMe.py @@ -4,10 +4,10 @@ from module.common.json_layer import json_loads  from module.plugins.internal.Account import Account -class HighWayMe.py(Account): +class HighWayMe(Account):      __name__    = "HighWayMe.py"      __type__    = "account" -    __version__ = "0.02" +    __version__ = "0.03"      __description__ = """High-Way.me account plugin"""      __license__     = "GPLv3" diff --git a/module/plugins/hoster/HighWayMe.py b/module/plugins/hoster/HighWayMe.py index 837eb1ff3..9c79f8dc4 100644 --- a/module/plugins/hoster/HighWayMe.py +++ b/module/plugins/hoster/HighWayMe.py @@ -9,7 +9,7 @@ from module.plugins.internal.SimpleHoster import secondsToMidnight  class HighWayMe(MultiHoster):      __name__    = "HighWayMe"      __type__    = "hoster" -    __version__ = "0.10" +    __version__ = "0.11"      __pattern__ = r'https?://.+high-way\.my'      __config__  = [("use_premium", "bool", "Use premium account if available", True)] @@ -24,7 +24,7 @@ class HighWayMe(MultiHoster):      def checkErrors(self): -        if '<valid>0</valid>' in self.html:  #@NOTE: This is not working. It should by if 302 Moved Temporarily then ... But I don't now how to implement it. +        if self.html.get('code') == 302::  #@NOTE: This is not working. It should by if 302 Moved Temporarily then ... But I don't now how to implement it.              self.account.relogin(self.user)              self.retry() | 
