diff options
author | Simon Sawicki <contact@grub4k.xyz> | 2025-03-16 12:45:44 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-16 12:45:44 +0100 |
commit | 95f8df2f796d0048119615200758199aedcd7cf4 (patch) | |
tree | b7e43ce4dc3522bc07ac87ec1e8085bb8813ff15 /yt_dlp/networking/_websockets.py | |
parent | e67d786c7cc87bd449d22e0ddef08306891c1173 (diff) |
[networking] Always add unsupported suffix on version mismatch (#12626)
Authored by: Grub4K
Diffstat (limited to 'yt_dlp/networking/_websockets.py')
-rw-r--r-- | yt_dlp/networking/_websockets.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/yt_dlp/networking/_websockets.py b/yt_dlp/networking/_websockets.py index 7e5ab4600..d29f8e45a 100644 --- a/yt_dlp/networking/_websockets.py +++ b/yt_dlp/networking/_websockets.py @@ -34,6 +34,7 @@ import websockets.version websockets_version = tuple(map(int_or_none, websockets.version.version.split('.'))) if websockets_version < (13, 0): + websockets._yt_dlp__version = f'{websockets.version.version} (unsupported)' raise ImportError('Only websockets>=13.0 is supported') import websockets.sync.client |