mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-02-01 18:41:54 +08:00
fixed f-string
This commit is contained in:
@@ -315,7 +315,7 @@ class RfbClient(RfbClientStream): # pylint: disable=too-many-instance-attribute
|
|||||||
|
|
||||||
await self.__handshake_security_send_result(
|
await self.__handshake_security_send_result(
|
||||||
allow=bool(user),
|
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_msg="VNCAuth access denied (user not found)",
|
||||||
deny_reason="Invalid password",
|
deny_reason="Invalid password",
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user