From 3e5dd6e1021029732fc98676dbb893c704c4358f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krist=C3=B3f=20T=C3=B3th?= Date: Fri, 20 Jul 2018 10:27:58 +0200 Subject: [PATCH] Fix typo --- lib/tfw/networking/message_sender.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/tfw/networking/message_sender.py b/lib/tfw/networking/message_sender.py index 2b946d7..378ad91 100644 --- a/lib/tfw/networking/message_sender.py +++ b/lib/tfw/networking/message_sender.py @@ -46,8 +46,8 @@ class MessageSender: }) @staticmethod - def generate_messages_from_queue(queue_messsge): - for message in queue_messsge['data']['messages']: + def generate_messages_from_queue(queue_message): + for message in queue_message['data']['messages']: yield { 'key': 'message', 'data': message