Console output borked on windows, fixed
This commit is contained in:
parent
1d99945f44
commit
829f7b26d1
1 changed files with 8 additions and 5 deletions
|
@ -350,6 +350,9 @@ async def handle_client_registered(data: dict[str, Any]) -> None:
|
|||
"""
|
||||
if data["success"]:
|
||||
logger.info("Registered")
|
||||
|
||||
# this is borked on windows
|
||||
if os.name != "nt":
|
||||
print(f"Join here: {state.config['server']}/{data['room']}")
|
||||
qr = QRCode(box_size=20, border=2)
|
||||
qr.add_data(f"{state.config['server']}/{data['room']}")
|
||||
|
|
Loading…
Add table
Reference in a new issue