From: Petr Vaněk Date: Sat, 12 Feb 2022 11:30:29 +0000 (+0100) Subject: do not use f-strings X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=d02064218be76eba6350a13ccbbc473b1b439570;p=youtube-dl do not use f-strings --- diff --git a/youtube_dl/extractor/streamcz.py b/youtube_dl/extractor/streamcz.py index fbdc44505..d1736c023 100644 --- a/youtube_dl/extractor/streamcz.py +++ b/youtube_dl/extractor/streamcz.py @@ -43,7 +43,7 @@ class StreamCZIE(InfoExtractor): if not stream.get('url'): continue yield { - 'format_id': f'{format_id}-{ext}', + 'format_id': '{}-{}'.format(format_id, ext), 'ext': ext, 'source_preference': pref, 'url': urljoin(spl_url, stream['url']),