mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-11-22 22:51:32 +00:00
Remove unnecessary variable
This commit is contained in:
parent
22cdbaac2c
commit
39243811dc
@ -18,9 +18,8 @@ class EventHandlerBase(ABC):
|
|||||||
|
|
||||||
def event_handler_callback(self, msg_parts):
|
def event_handler_callback(self, msg_parts):
|
||||||
message = deserialize_tfw_msg(*msg_parts)
|
message = deserialize_tfw_msg(*msg_parts)
|
||||||
key = message['key']
|
|
||||||
response = self.dispatch_handling(message)
|
response = self.dispatch_handling(message)
|
||||||
response['key'] = key
|
response['key'] = message['key']
|
||||||
if response is None:
|
if response is None:
|
||||||
return
|
return
|
||||||
self.server_connector.send(response)
|
self.server_connector.send(response)
|
||||||
|
Loading…
Reference in New Issue
Block a user