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