0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-22 02:15:12 +00:00

fix linting error

This commit is contained in:
merismal34 2022-09-12 03:19:43 +00:00 committed by GitHub
parent f835a62abe
commit f6631360e8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2275,7 +2275,7 @@ def extract_media(x_media_line):
if media_type not in ('VIDEO', 'AUDIO'): if media_type not in ('VIDEO', 'AUDIO'):
return return
channels = media.get('CHANNELS') channels = media.get('CHANNELS')
if not channels is None and str(channels).isdigit(): if channels is not None and str(channels).isdigit():
channels = int(channels) channels = int(channels)
media_url = media.get('URI') media_url = media.get('URI')
if media_url: if media_url: