From c7e84506dd77b1c63a713bbd69e012af9bf0d80d Mon Sep 17 00:00:00 2001 From: Goffi Date: Mon, 8 Aug 2016 00:48:22 +0200 Subject: [PATCH] quick frontend(chat): fixed traceback in log message --- frontends/src/quick_frontend/quick_chat.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontends/src/quick_frontend/quick_chat.py b/frontends/src/quick_frontend/quick_chat.py index 28303e21..584a8160 100644 --- a/frontends/src/quick_frontend/quick_chat.py +++ b/frontends/src/quick_frontend/quick_chat.py @@ -96,7 +96,8 @@ class Message(object): self.selected_lang = lang return mess except StopIteration: - log.error(u"Can't find message for uid {}".format(self.mess_data.uid)) + log.error(u"Can't find message for uid {}".format(self.uid)) + return '' def getNick(self, entity): """Return nick of an entity when possible"""