fix: exclude commands from message handler, remove bad register call
This commit is contained in:
parent
763eba2817
commit
5bbd336f58
2 changed files with 2 additions and 3 deletions
|
|
@ -53,7 +53,6 @@ def build_event_dispatcher(platform: MockPlatformClient) -> EventDispatcher:
|
|||
)
|
||||
|
||||
# Register core handlers
|
||||
ed.register(type(None).__mro__[0], "start", handle_start) # placeholder
|
||||
from core.protocol import IncomingCommand, IncomingMessage, IncomingCallback
|
||||
ed.register(IncomingCommand, "start", handle_start)
|
||||
ed.register(IncomingCommand, "settings", handle_settings)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue