allow aliases in tracker and prevent them from causing html/js/database "stuff"

Though technically they can still do unicode "stuff"
This commit is contained in:
Fabian Dill
2020-06-24 13:29:40 +02:00
parent f72f344860
commit 38fe292acb
3 changed files with 12 additions and 5 deletions

View File

@@ -443,7 +443,7 @@ async def get_snes_devices(ctx: Context):
async def snes_connect(ctx: Context, address):
if ctx.snes_socket is not None:
if ctx.snes_socket is not None and ctx.snes_state == SNES_CONNECTED:
ctx.ui_node.log_error('Already connected to snes')
return