summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/FreeWayMe.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-06-17 18:59:20 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-06-24 22:42:40 +0200
commit20b6a2ec022202b0efb6cb69415239fb8f4d1445 (patch)
treefdbb3ad42854144b1cace0221145a472b36ef84d /module/plugins/hoster/FreeWayMe.py
parentSpare code cosmetics (diff)
downloadpyload-20b6a2ec022202b0efb6cb69415239fb8f4d1445.tar.xz
Spare code cosmetics (2)
Diffstat (limited to 'module/plugins/hoster/FreeWayMe.py')
-rw-r--r--module/plugins/hoster/FreeWayMe.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/module/plugins/hoster/FreeWayMe.py b/module/plugins/hoster/FreeWayMe.py
index bb6d9f29d..215dd8f5a 100644
--- a/module/plugins/hoster/FreeWayMe.py
+++ b/module/plugins/hoster/FreeWayMe.py
@@ -26,7 +26,7 @@ class FreeWayMe(MultiHoster):
user, data = self.account.selectAccount()
for _i in xrange(5):
- # try it five times
+ #: try it five times
header = self.load("http://www.free-way.bz/load.php", #@TODO: Revert to `https` in 0.4.10
get={'multiget': 7,
'url' : pyfile.url,
@@ -38,14 +38,14 @@ class FreeWayMe(MultiHoster):
if 'location' in header:
headers = self.load(header['location'], just_header=True)
if headers['code'] == 500:
- # error on 2nd stage
+ #: error on 2nd stage
self.logError(_("Error [stage2]"))
else:
- # seems to work..
+ #: seems to work..
self.download(header['location'])
break
else:
- # error page first stage
+ #: error page first stage
self.logError(_("Error [stage1]"))
#@TODO: handle errors