diff options
author | Hadrien Theveneau <theveneau@gmail.com> | 2015-10-28 03:00:55 +0100 |
---|---|---|
committer | Hadrien Theveneau <theveneau@gmail.com> | 2015-10-28 03:05:38 +0100 |
commit | 34eee494f0a04e20f285b211dd4a2d9366350f0a (patch) | |
tree | fab9ec93589b24ec1c9e31001b60aabe42335b63 /module/plugins/internal | |
parent | Fix https://github.com/pyload/pyload/issues/2112 (diff) | |
download | pyload-34eee494f0a04e20f285b211dd4a2d9366350f0a.tar.xz |
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 |