fixed f-string

This commit is contained in:
Devaev Maxim
2020-07-23 05:51:16 +03:00
parent 360ff00903
commit 37c2f9391c

View File

@@ -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",
)