mirror of
https://github.com/Break27/kvmd.git
synced 2026-02-06 18:36:37 +08:00
fixed f-string
This commit is contained in:
parent
360ff00903
commit
37c2f9391c
@ -315,7 +315,7 @@ class RfbClient(RfbClientStream): # pylint: disable=too-many-instance-attribute
|
||||
|
||||
await self.__handshake_security_send_result(
|
||||
allow=bool(user),
|
||||
allow_msg="VNCAuth access granted for user {user!r}",
|
||||
allow_msg=f"VNCAuth access granted for user {user!r}",
|
||||
deny_msg="VNCAuth access denied (user not found)",
|
||||
deny_reason="Invalid password",
|
||||
)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user