From 117624d6115f6b7d8d5f02a20ec19493c054131d Mon Sep 17 00:00:00 2001 From: Fabian Dill Date: Sun, 31 May 2020 14:55:37 +0200 Subject: [PATCH] fix /snes if interface contains spaces (which it shouldn't, but meh) --- MultiClient.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/MultiClient.py b/MultiClient.py index dad4b70d..d50b8258 100644 --- a/MultiClient.py +++ b/MultiClient.py @@ -819,7 +819,7 @@ async def connect(ctx: Context, address=None): ctx.server_task = asyncio.create_task(server_loop(ctx, address)) -from MultiServer import CommandProcessor +from MultiServer import CommandProcessor, mark_raw class ClientCommandProcessor(CommandProcessor): @@ -831,6 +831,7 @@ class ClientCommandProcessor(CommandProcessor): self.ctx.exit_event.set() return True + @mark_raw def _cmd_snes(self, snes_address: str = "") -> bool: """Connect to a snes. Optionally include network address of a snes to connect to, otherwise show available devices""" self.ctx.snes_reconnect_address = None