Minor bugfixes

This commit is contained in:
pukkandan 2022-08-02 03:40:47 +05:30
parent be5c1ae862
commit 0647d9251f
No known key found for this signature in database
GPG key ID: 7EEE9E1E817D0A39
8 changed files with 26 additions and 15 deletions

View file

@ -1,4 +1,8 @@
f'You are using an unsupported version of Python. Only Python versions 3.7 and above are supported by yt-dlp' # noqa: F541
try:
import contextvars # noqa: F401
except Exception:
raise Exception(
f'You are using an unsupported version of Python. Only Python versions 3.7 and above are supported by yt-dlp') # noqa: F541
__license__ = 'Public Domain'