From 7eb47073976035bd2f9dc67110a99bee47677d5c Mon Sep 17 00:00:00 2001 From: Nico Date: Wed, 8 Mar 2017 18:20:42 +0100 Subject: [PATCH] UnboundLocalError: local variable 'waId' referenced before assignment --- transWhat/session.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transWhat/session.py b/transWhat/session.py index 761522f..c2231d0 100644 --- a/transWhat/session.py +++ b/transWhat/session.py @@ -690,7 +690,7 @@ class Session(YowsupApp): waId = self.sendTextMessage(sender + '@s.whatsapp.net', message) self.msgIDs[waId] = MsgIDs(ID, waId) - self.logger.info("WA Message send to %s with ID %s", buddy, waId) + # self.logger.info("WA Message send to %s with ID %s", buddy, waId) def executeCommand(self, command, room): if command == '\\leave':