parent
486fb17975
commit
a61f4b287b
2 changed files with 13 additions and 6 deletions
|
|
@ -463,6 +463,11 @@ class YoutubeDL(object):
|
|||
self.params.update(params)
|
||||
self.cache = Cache(self)
|
||||
|
||||
if sys.version_info < (3, 6):
|
||||
self.report_warning(
|
||||
'Support for Python version %d.%d have been deprecated and will break in future versions of yt-dlp! '
|
||||
'Update to Python 3.6 or above' % sys.version_info[:2])
|
||||
|
||||
def check_deprecated(param, option, suggestion):
|
||||
if self.params.get(param) is not None:
|
||||
self.report_warning(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue