summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/HighWayMe.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-12-14 16:47:49 +0100
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-12-27 21:22:11 +0100
commit8fe2fa85605c091369c8e69b36d1cded2cd9bbe0 (patch)
treea0d5745b1168fe887568fc6af1004c19ce44f4b6 /module/plugins/hoster/HighWayMe.py
parent[ExternalScripts] Update and fix (diff)
downloadpyload-8fe2fa85605c091369c8e69b36d1cded2cd9bbe0.tar.xz
Update hosters (1)
Diffstat (limited to 'module/plugins/hoster/HighWayMe.py')
-rw-r--r--module/plugins/hoster/HighWayMe.py9
1 files changed, 3 insertions, 6 deletions
diff --git a/module/plugins/hoster/HighWayMe.py b/module/plugins/hoster/HighWayMe.py
index 178c11daf..e972839e1 100644
--- a/module/plugins/hoster/HighWayMe.py
+++ b/module/plugins/hoster/HighWayMe.py
@@ -2,8 +2,8 @@
import re
-from module.plugins.internal.MultiHoster import MultiHoster, create_getInfo
-from module.plugins.internal.utils import seconds_to_midnight
+from module.plugins.internal.MultiHoster import MultiHoster
+from module.plugins.internal.misc import seconds_to_midnight
class HighWayMe(MultiHoster):
@@ -30,7 +30,7 @@ class HighWayMe(MultiHoster):
def check_errors(self):
- 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.
+ 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.
self.account.relogin()
self.retry()
@@ -77,6 +77,3 @@ class HighWayMe(MultiHoster):
self.pyfile.size = 0
self.link = re.search(r'<download>([^<]+)</download>', self.data).group(1)
-
-
-getInfo = create_getInfo(HighWayMe)