UnboundLocalError: local variable 'waId' referenced before assignment

This commit is contained in:
Nico 2017-03-08 18:20:42 +01:00
parent 5caba690cb
commit 7eb4707397

View file

@ -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':