mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-11-14 03:07:17 +00:00
Remove message scope during routing
This commit is contained in:
parent
80e42a4091
commit
dc62508a7b
@ -54,7 +54,7 @@ class TFWRouter:
|
|||||||
self.send_to_websockets = send_to_websockets
|
self.send_to_websockets = send_to_websockets
|
||||||
|
|
||||||
def route(self, message):
|
def route(self, message):
|
||||||
scope = Scope(message.get('scope', 'zmq'))
|
scope = Scope(message.pop('scope', 'zmq'))
|
||||||
|
|
||||||
routing_table = {
|
routing_table = {
|
||||||
Scope.ZMQ: self.send_to_zmq,
|
Scope.ZMQ: self.send_to_zmq,
|
||||||
|
Loading…
Reference in New Issue
Block a user