From 37c2f9391c4129114702f653270049d0ad67bc90 Mon Sep 17 00:00:00 2001 From: Devaev Maxim Date: Thu, 23 Jul 2020 05:51:16 +0300 Subject: fixed f-string --- kvmd/apps/vnc/rfb/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kvmd/apps/vnc/rfb/__init__.py b/kvmd/apps/vnc/rfb/__init__.py index 80c08028..96e70895 100644 --- a/kvmd/apps/vnc/rfb/__init__.py +++ b/kvmd/apps/vnc/rfb/__init__.py @@ -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", ) -- cgit v1.2.3