summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/HighWayMe.py
diff options
context:
space:
mode:
authorGravatar Nitzo <nitzo2001@yahoo.com> 2016-01-02 00:37:43 +0100
committerGravatar Nitzo <nitzo2001@yahoo.com> 2016-01-02 00:37:43 +0100
commit7ab16b360739c4754c954ceb54b226ab0a30c215 (patch)
treec7d522cfe574f43ebb862d51f3693cd974cde04f /module/plugins/hoster/HighWayMe.py
parent[ExternalScripts] fix #2251 + much more (diff)
downloadpyload-7ab16b360739c4754c954ceb54b226ab0a30c215.tar.xz
"is" is evil
Diffstat (limited to 'module/plugins/hoster/HighWayMe.py')
-rw-r--r--module/plugins/hoster/HighWayMe.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/HighWayMe.py b/module/plugins/hoster/HighWayMe.py
index a9d4db373..029cb7fdc 100644
--- a/module/plugins/hoster/HighWayMe.py
+++ b/module/plugins/hoster/HighWayMe.py
@@ -9,7 +9,7 @@ from module.plugins.internal.misc import seconds_to_midnight
class HighWayMe(MultiHoster):
__name__ = "HighWayMe"
__type__ = "hoster"
- __version__ = "0.19"
+ __version__ = "0.20"
__status__ = "testing"
__pattern__ = r'https?://.+high-way\.my'
@@ -30,7 +30,7 @@ class HighWayMe(MultiHoster):
def check_errors(self):
- if self.data.get('code') is 302: #@NOTE: This is not working. It should by if 302 Moved Temporarily then... But I don't now how to implement it.
+ if self.data.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.retry()