diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-10-28 04:41:54 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-10-28 04:41:54 +0100 |
commit | 9d55dfe173cb61bc79a71ddc6b5ee1064ca523c1 (patch) | |
tree | fab9ec93589b24ec1c9e31001b60aabe42335b63 /module/plugins/internal | |
parent | Fix https://github.com/pyload/pyload/issues/2112 (diff) | |
parent | Syntax error in SimpleHoster.py (diff) | |
download | pyload-9d55dfe173cb61bc79a71ddc6b5ee1064ca523c1.tar.xz |
Merge pull request #2129 from thadrien/pull-request-SimpleHoster
Syntax error in SimpleHoster.py
Diffstat (limited to 'module/plugins/internal')
-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 e5ee65bdf..b54d4dc98 100644 --- a/module/plugins/internal/SimpleHoster.py +++ b/module/plugins/internal/SimpleHoster.py @@ -286,7 +286,7 @@ class SimpleHoster(Hoster): def check_download(self): super(SimpleHoster, self).check_download() - self.log_info(_("Checking downloaded file with built-in rules...") + self.log_info(_("Checking downloaded file with built-in rules...")) for r, p in self.FILE_ERRORS: errmsg = self.check_file({r: re.compile(p)}) if errmsg is not None: @@ -303,7 +303,7 @@ class SimpleHoster(Hoster): self.restart(errmsg) else: if self.CHECK_FILE: - self.log_info(_("Checking downloaded file with custom rules...") + self.log_info(_("Checking downloaded file with custom rules...")) with open(encode(self.last_download), "rb") as f: self.data = f.read(1048576) #@TODO: Recheck in 0.4.10 |