From 8b56099122a8a8f6f753b97421910de487c30335 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Fri, 21 Jun 2024 20:52:44 +0700 Subject: [PATCH] #4262 fix compatibility with older Python versions --- xpra/codecs/codec_constants.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xpra/codecs/codec_constants.py b/xpra/codecs/codec_constants.py index 5ba4b6be1e..bb36268d6a 100644 --- a/xpra/codecs/codec_constants.py +++ b/xpra/codecs/codec_constants.py @@ -26,7 +26,7 @@ "grayscale", "stream", ) -PREFERRED_REFRESH_ENCODING_ORDER: tuple[str, ...] = ( +PREFERRED_REFRESH_ENCODING_ORDER: Tuple[str, ...] = ( "webp", "avif", "png", "png/P", "png/L", "rgb", "rgb24", "rbg32", "jpeg", "jpega", ) STREAM_ENCODINGS : Tuple[str,...] = (