From de0040b689e9af482423d98577ac86290bb942e9 Mon Sep 17 00:00:00 2001 From: Lasse Schuirmann Date: Tue, 17 Feb 2015 18:15:29 +0100 Subject: [PATCH] LogPrinter: Correct gettext invocation --- coalib/output/printers/LogPrinter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coalib/output/printers/LogPrinter.py b/coalib/output/printers/LogPrinter.py index a911910087..bb68f05945 100644 --- a/coalib/output/printers/LogPrinter.py +++ b/coalib/output/printers/LogPrinter.py @@ -31,7 +31,7 @@ def _get_log_prefix(self, log_level, timestamp): if datetime_string != "": datetime_string = "[" + datetime_string + "]" - return '[{}]{} '.format(LOG_LEVEL.reverse.get(log_level, _("ERROR")), + return '[{}]{} '.format(_(LOG_LEVEL.reverse.get(log_level, "ERROR")), datetime_string) def debug(self, message, timestamp=None, **kwargs):