forked from auracaster/bumble_mirror
Ruff: Add and fix UP rules
This commit is contained in:
@@ -49,9 +49,9 @@ async def handle_command_client(
|
||||
await ams_client.command(RemoteCommandId[command.upper()])
|
||||
continue
|
||||
except Exception as error:
|
||||
writer.write(f"ERROR: {error}\n".encode("utf-8"))
|
||||
writer.write(f"ERROR: {error}\n".encode())
|
||||
|
||||
writer.write(f"unknown command {command}\n".encode("utf-8"))
|
||||
writer.write(f"unknown command {command}\n".encode())
|
||||
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user