0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-29 03:23:02 +00:00

Show a more useful error in older python versions

This commit is contained in:
pukkandan 2021-09-02 03:52:08 +05:30
parent a7429aa9fa
commit 347182a0cd
No known key found for this signature in database
GPG key ID: 0F00D95A001F4698

View file

@ -1,7 +1,7 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
# coding: utf-8 # coding: utf-8
from __future__ import unicode_literals f'You are using an unsupported version of Python. Only Python versions 3.6 and above are supported by yt-dlp' # noqa: F541
__license__ = 'Public Domain' __license__ = 'Public Domain'