fix linting error

pull/4896/head
merismal34 2 years ago committed by GitHub
parent f835a62abe
commit f6631360e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save