projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
107d0c4
)
[YoutubeDL] Fix resolution with missing height in output template dict
author
Sergey M․
<dstftw@gmail.com>
Sat, 5 Mar 2016 13:38:58 +0000
(19:38 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Sat, 5 Mar 2016 13:38:58 +0000
(19:38 +0600)
youtube_dl/YoutubeDL.py
patch
|
blob
|
history
diff --git
a/youtube_dl/YoutubeDL.py
b/youtube_dl/YoutubeDL.py
index dcc867e456db6b0131ed797ae6bfd78f327834dc..f91851df91ee2a7bf49910ac2d8ec12f2bf94469 100755
(executable)
--- a/
youtube_dl/YoutubeDL.py
+++ b/
youtube_dl/YoutubeDL.py
@@
-567,7
+567,7
@@
class YoutubeDL(object):
elif template_dict.get('height'):
template_dict['resolution'] = '%sp' % template_dict['height']
elif template_dict.get('width'):
- template_dict['resolution'] = '
?x%d
' % template_dict['width']
+ template_dict['resolution'] = '
%dx?
' % template_dict['width']
sanitize = lambda k, v: sanitize_filename(
compat_str(v),