0
0
Fork 0

[YoutubeDL] Fix format resolution when height is missing

main
Sergey M․ 2016-02-11 22:46:13 +06:00
parent b67d63149d
commit 388ae76b52
1 changed files with 1 additions and 1 deletions

View File

@ -1798,7 +1798,7 @@ class YoutubeDL(object):
else:
res = '%sp' % format['height']
elif format.get('width') is not None:
res = '?x%d' % format['width']
res = '%dx?' % format['width']
else:
res = default
return res