1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-12-09 01:35:18 +00:00

[cleanup] Remove unused code (#8968)

Authored by: pukkandan, seproDev
This commit is contained in:
pukkandan
2024-03-10 22:28:37 +05:30
parent 45491a2a30
commit ed3bb2b0a1
5 changed files with 2 additions and 9 deletions

View File

@@ -53,9 +53,7 @@ except ImportError:
try:
import websockets
except (ImportError, SyntaxError):
# websockets 3.10 on Python 3.6 causes SyntaxError
# See https://github.com/yt-dlp/yt-dlp/issues/2633
except ImportError:
websockets = None
try: