[cleanup] Misc

This commit is contained in:
pukkandan
2023-07-06 20:09:42 +05:30
parent fa44802809
commit 337734d4a8
10 changed files with 13 additions and 13 deletions

View File

@@ -3687,7 +3687,7 @@ class YoutubeDL:
def simplified_codec(f, field):
assert field in ('acodec', 'vcodec')
codec = f.get(field, 'unknown')
codec = f.get(field)
if not codec:
return 'unknown'
elif codec != 'none':