diff options
author | dirkf <[email protected]> | 2022-04-29 13:36:02 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2022-04-29 13:36:02 +0100 |
commit | e27d8d819fa69d5714ea1682a1d5d56f617461fc (patch) | |
tree | be9588d7026d7ffcaf7393b96be36361a7272491 | |
parent | ebc627847cd1f5faddf4bd90376c1635777283cf (diff) | |
download | youtube-dl-e27d8d819fa69d5714ea1682a1d5d56f617461fc.tar.gz youtube-dl-e27d8d819fa69d5714ea1682a1d5d56f617461fc.zip |
[streamcz] Remove empty `'{}'.format()` for Py2.6
Use `'-join()'` here, or `{0}`, ..., in general.
-rw-r--r-- | youtube_dl/extractor/streamcz.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/streamcz.py b/youtube_dl/extractor/streamcz.py index 060ba32e0..97b2eb7f8 100644 --- a/youtube_dl/extractor/streamcz.py +++ b/youtube_dl/extractor/streamcz.py @@ -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']), |