Skip to content

Commit

Permalink
LogPrinter: Correct gettext invocation
Browse files Browse the repository at this point in the history
  • Loading branch information
sils committed Feb 17, 2015
1 parent 2296f8a commit de0040b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coalib/output/printers/LogPrinter.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit de0040b

Please sign in to comment.