]> jfr.im git - yt-dlp.git/commitdiff
Show a more useful error in older python versions
authorpukkandan <redacted>
Wed, 1 Sep 2021 22:22:08 +0000 (03:52 +0530)
committerpukkandan <redacted>
Wed, 1 Sep 2021 22:22:08 +0000 (03:52 +0530)
yt_dlp/__init__.py

index 91b2bcb852a5f4d600c0538675be665492cb0b51..ad2d5e035a5dd6874b216d51c05cdcd958de1cd2 100644 (file)
@@ -1,7 +1,7 @@
 #!/usr/bin/env python3
 # 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'