Fix case sensitivity of format selector

Bug introduced in f8d4ad9ab0
pull/275/head
pukkandan 2021-04-26 10:49:22 +05:30
rodzic b982cbdd0e
commit 598d185db1
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 0F00D95A001F4698
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -1666,7 +1666,7 @@ class YoutubeDL(object):
return []
elif selector.type == SINGLE: # atom
format_spec = (selector.selector or 'best').lower()
format_spec = selector.selector or 'best'
# TODO: Add allvideo, allaudio etc by generalizing the code with best/worst selector
if format_spec == 'all':