Skip to content

Commit 30da831

Browse files
committed
chore: remove probe wide handler
1 parent ed774a4 commit 30da831

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

sourceplusplus/SourcePlusPlus.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -149,12 +149,6 @@ def __send_connected(self, eb: EventBus):
149149

150150
def __register_remotes(self, eb, reply_address, status):
151151
eb.unregister_handler(reply_address)
152-
eb.register_handler(
153-
address="spp.probe.command.live-instrument-remote",
154-
handler=lambda msg: self.instrument_remote.handle_instrument_command(
155-
LiveInstrumentCommand.from_json(json.dumps(msg["body"]))
156-
)
157-
)
158152
eb.register_handler(
159153
address="spp.probe.command.live-instrument-remote:" + self.probe_config["spp"]["probe_id"],
160154
handler=lambda msg: self.instrument_remote.handle_instrument_command(

0 commit comments

Comments
 (0)