diff options
author | Oleg Girko <[email protected]> | 2020-08-18 04:27:26 +0300 |
---|---|---|
committer | Oleg Girko <[email protected]> | 2020-09-01 19:24:13 +0300 |
commit | f13581d356d29107edd4b2fb974ee521e553b895 (patch) | |
tree | 39c697950beac06b3328ebe60615bfed82940990 /kvmd/apps/vnc | |
parent | 2dbf11428f01b748619ac5b25215c7d7a0b07dbc (diff) |
Remove all uses of = specifier in f-strings.
This is needed to port to Python 3.7 because
Raspbian 10 doesn't have Python 3.8.
Signed-off-by: Oleg Girko <[email protected]>
Diffstat (limited to 'kvmd/apps/vnc')
-rw-r--r-- | kvmd/apps/vnc/rfb/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmd/apps/vnc/rfb/__init__.py b/kvmd/apps/vnc/rfb/__init__.py index 765d1574..f552321d 100644 --- a/kvmd/apps/vnc/rfb/__init__.py +++ b/kvmd/apps/vnc/rfb/__init__.py @@ -373,7 +373,7 @@ class RfbClient(RfbClientStream): # pylint: disable=too-many-instance-attribute # JpegCompression may only be used when bits-per-pixel is either 16 or 32 bits_per_pixel = (await self._read_struct("xxx BB?? HHH BBB xxx"))[0] if bits_per_pixel not in [16, 32]: - raise RfbError(f"Requested unsupported {bits_per_pixel=} for Tight JPEG; required 16 or 32") + raise RfbError(f"Requested unsupported bits_per_pixel={bits_per_pixel} for Tight JPEG; required 16 or 32") async def __handle_set_encodings(self) -> None: encodings_count = (await self._read_struct("x H"))[0] |