diff options
Diffstat (limited to 'module/plugins/hooks')
-rw-r--r-- | module/plugins/hooks/AntiVirus.py | 2 | ||||
-rw-r--r-- | module/plugins/hooks/Captcha9Kw.py | 2 | ||||
-rw-r--r-- | module/plugins/hooks/ExtractArchive.py | 2 | ||||
-rw-r--r-- | module/plugins/hooks/RestartFailed.py | 2 | ||||
-rw-r--r-- | module/plugins/hooks/UpdateManager.py | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/module/plugins/hooks/AntiVirus.py b/module/plugins/hooks/AntiVirus.py index 0b5eb1410..09872650f 100644 --- a/module/plugins/hooks/AntiVirus.py +++ b/module/plugins/hooks/AntiVirus.py @@ -91,7 +91,7 @@ class AntiVirus(Hook): shutil.move(file, self.getConfig('quardir')) else: - self.logDebug(_("Successfully moved file to trash")) + self.logDebug("Successfully moved file to trash") elif action == "Quarantine": pyfile.setCustomStatus(_("file moving")) diff --git a/module/plugins/hooks/Captcha9Kw.py b/module/plugins/hooks/Captcha9Kw.py index 7f37c225e..18a078bdb 100644 --- a/module/plugins/hooks/Captcha9Kw.py +++ b/module/plugins/hooks/Captcha9Kw.py @@ -139,7 +139,7 @@ class Captcha9Kw(Hook): self.logError(_("Bad upload: %s") % res) return - self.logDebug(_("NewCaptchaID ticket: %s") % res, task.captchaFile) + self.logDebug("NewCaptchaID ticket: %s" % res, task.captchaFile) task.data["ticket"] = res diff --git a/module/plugins/hooks/ExtractArchive.py b/module/plugins/hooks/ExtractArchive.py index 67ebfc49c..f311d5b49 100644 --- a/module/plugins/hooks/ExtractArchive.py +++ b/module/plugins/hooks/ExtractArchive.py @@ -482,7 +482,7 @@ class ExtractArchive(Hook): self.logWarning(_("Unable to move %s to trash: %s") % (os.path.basename(f), e.message)) else: - self.logDebug(_("Successfully moved %s to trash") % os.path.basename(f)) + self.logDebug("Successfully moved %s to trash" % os.path.basename(f)) self.logInfo(name, _("Extracting finished")) extracted_files = archive.files or archive.list() diff --git a/module/plugins/hooks/RestartFailed.py b/module/plugins/hooks/RestartFailed.py index 837d903b2..c29b9cee4 100644 --- a/module/plugins/hooks/RestartFailed.py +++ b/module/plugins/hooks/RestartFailed.py @@ -30,7 +30,7 @@ class RestartFailed(Hook): def periodical(self): - self.logDebug(_("Restart failed downloads")) + self.logDebug("Restart failed downloads") self.core.api.restartFailed() diff --git a/module/plugins/hooks/UpdateManager.py b/module/plugins/hooks/UpdateManager.py index 249c799d8..f8eb25bc1 100644 --- a/module/plugins/hooks/UpdateManager.py +++ b/module/plugins/hooks/UpdateManager.py @@ -39,7 +39,7 @@ class UpdateManager(Hook): ("reloadplugins", "bool", "Monitor plugin code changes in debug mode", True ), ("nodebugupdate", "bool", "Don't update plugins in debug mode" , False)] - __description__ = """ Check for updates """ + __description__ = """Check for updates""" __license__ = "GPLv3" __authors__ = [("Walter Purcaro", "vuolter@gmail.com")] |