This commit is contained in:
Yuxin Wu
2016-10-12 13:53:45 -04:00
parent 06217dbfb8
commit 4ee06766fd
+1 -1
View File
@@ -149,6 +149,6 @@ SELECT {} FROM message
values['talker'] = self.contacts[tk_id]
except KeyError:
# It's possible that messages are kept in database after contacts been deleted
logger.warn("Unknown contact: {}".format(values.get('talker', ''))
logger.warn("Unknown contact: {}".format(values.get('talker', '')))
return None
return values