From 1f1052920969908b7e8f4ce20e6eb59bcc6b5de8 Mon Sep 17 00:00:00 2001 From: Laurent Peuch Date: Mon, 29 Jul 2019 03:56:10 +0200 Subject: [PATCH] [fix] syntax error, again -_-' --- moulinette/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moulinette/core.py b/moulinette/core.py index 5a64fac2..317b910c 100644 --- a/moulinette/core.py +++ b/moulinette/core.py @@ -126,7 +126,7 @@ class Translator(object): return self._translations[self.default_locale][key].encode('utf-8') - error_message = "unable to retrieve string to translate with key '%s' for default locale 'locales/%s.json' file (don't panic this is just a warning)" % key, self.default_locale + error_message = "unable to retrieve string to translate with key '%s' for default locale 'locales/%s.json' file (don't panic this is just a warning)" % (key, self.default_locale) if not during_unittests_run(): logger.exception(error_message)