Fixed error

master
haddaway 2012-10-21 11:28:19 -07:00
parent 7d6672f792
commit 2a53fcb76c
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ def thread_run(visual):
while not visual.exit:
try:
msg, timestamp = visual.badge.RFrecv()
toor_message = ToorChatProtocol.parse_chat_message(msg)
toor_message = ToorChatProtocol.parse_message(msg)
if toor_message != None:
if toor_message.type == ToorChatProtocol.get_chat_type():
visual.message_queue.append(toor_message)