aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authordirkf <[email protected]>2022-04-29 13:36:02 +0100
committerGitHub <[email protected]>2022-04-29 13:36:02 +0100
commite27d8d819fa69d5714ea1682a1d5d56f617461fc (patch)
treebe9588d7026d7ffcaf7393b96be36361a7272491
parentebc627847cd1f5faddf4bd90376c1635777283cf (diff)
downloadyoutube-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.py2
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']),