mirror of
https://github.com/ytdl-org/youtube-dl
synced 2024-12-16 14:36:47 +00:00
[streamcz] Remove empty '{}'.format()
for Py2.6
Use `'-join()'` here, or `{0}`, ..., in general.
This commit is contained in:
parent
ebc627847c
commit
e27d8d819f
@ -62,7 +62,7 @@ class StreamCZIE(InfoExtractor):
|
||||
if not stream.get('url'):
|
||||
continue
|
||||
yield merge_dicts({
|
||||
'format_id': '{}-{}'.format(format_id, ext),
|
||||
'format_id': '-'.join((format_id, ext)),
|
||||
'ext': ext,
|
||||
'source_preference': pref,
|
||||
'url': urljoin(spl_url, stream['url']),
|
||||
|
Loading…
Reference in New Issue
Block a user