diff options
author | Walter Purcaro <vuolter@gmail.com> | 2015-01-10 21:17:27 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2015-01-10 21:17:27 +0100 |
commit | 4747e1d7958c9fb1180da6f3a21f3093220a6655 (patch) | |
tree | 9c47a1355158bb2f3ef6a1f723f42634d8a20e6b /module/plugins/internal/SimpleHoster.py | |
parent | [RehostTo] Account fixup (diff) | |
download | pyload-4747e1d7958c9fb1180da6f3a21f3093220a6655.tar.xz |
Code improvements
Diffstat (limited to 'module/plugins/internal/SimpleHoster.py')
-rw-r--r-- | module/plugins/internal/SimpleHoster.py | 4 |
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'), |