From 4ee06766fd56f7a94a50e347edd9ad460a0f34b3 Mon Sep 17 00:00:00 2001 From: Yuxin Wu Date: Wed, 12 Oct 2016 13:53:45 -0400 Subject: [PATCH] bug fix --- wechat/parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wechat/parser.py b/wechat/parser.py index d68d32a..f524ea1 100644 --- a/wechat/parser.py +++ b/wechat/parser.py @@ -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