From 34eee494f0a04e20f285b211dd4a2d9366350f0a Mon Sep 17 00:00:00 2001 From: Hadrien Theveneau Date: Wed, 28 Oct 2015 03:00:55 +0100 Subject: Syntax error in SimpleHoster.py --- module/plugins/internal/SimpleHoster.py | 4 ++-- 1 file 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 -- cgit v1.2.3