Remove unnecessary variable

This commit is contained in:
Kristóf Tóth 2018-04-16 12:51:01 +02:00
parent 22cdbaac2c
commit 39243811dc

View File

@ -18,9 +18,8 @@ class EventHandlerBase(ABC):
def event_handler_callback(self, msg_parts):
message = deserialize_tfw_msg(*msg_parts)
key = message['key']
response = self.dispatch_handling(message)
response['key'] = key
response['key'] = message['key']
if response is None:
return
self.server_connector.send(response)