mirror of
https://github.com/yt-dlp/yt-dlp
synced 2024-12-26 21:59:08 +01:00
fix linting error
This commit is contained in:
parent
f835a62abe
commit
f6631360e8
1 changed files with 1 additions and 1 deletions
|
@ -2275,7 +2275,7 @@ class InfoExtractor:
|
|||
if media_type not in ('VIDEO', 'AUDIO'):
|
||||
return
|
||||
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)
|
||||
media_url = media.get('URI')
|
||||
if media_url:
|
||||
|
|
Loading…
Reference in a new issue