summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal/SimpleHoster.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2015-01-10 21:17:27 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2015-01-10 21:17:27 +0100
commit4747e1d7958c9fb1180da6f3a21f3093220a6655 (patch)
tree9c47a1355158bb2f3ef6a1f723f42634d8a20e6b /module/plugins/internal/SimpleHoster.py
parent[RehostTo] Account fixup (diff)
downloadpyload-4747e1d7958c9fb1180da6f3a21f3093220a6655.tar.xz
Code improvements
Diffstat (limited to 'module/plugins/internal/SimpleHoster.py')
-rw-r--r--module/plugins/internal/SimpleHoster.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/internal/SimpleHoster.py b/module/plugins/internal/SimpleHoster.py
index fb19b8725..5a32ac943 100644
--- a/module/plugins/internal/SimpleHoster.py
+++ b/module/plugins/internal/SimpleHoster.py
@@ -183,7 +183,7 @@ def secondsToMidnight(gmt=0):
class SimpleHoster(Hoster):
__name__ = "SimpleHoster"
__type__ = "hoster"
- __version__ = "0.93"
+ __version__ = "0.94"
__pattern__ = r'^unmatchable$'
@@ -441,7 +441,7 @@ class SimpleHoster(Hoster):
elif not self.lastDownload or not exists(fs_encode(self.lastDownload)):
self.lastDownload = ""
- self.fail(errmsg, self.pyfile.error or _("No file downloaded"))
+ self.fail(self.pyfile.error or _("No file downloaded"))
else:
rules = {'empty file': re.compile(r'\A\Z'),