Pārlūkot izejas kodu

do not use f-strings

Petr Vaněk 3 gadi atpakaļ
vecāks
revīzija
d02064218b
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      youtube_dl/extractor/streamcz.py

+ 1 - 1
youtube_dl/extractor/streamcz.py

@@ -43,7 +43,7 @@ class StreamCZIE(InfoExtractor):
                 if not stream.get('url'):
                 if not stream.get('url'):
                     continue
                     continue
                 yield {
                 yield {
-                    'format_id': f'{format_id}-{ext}',
+                    'format_id': '{}-{}'.format(format_id, ext),
                     'ext': ext,
                     'ext': ext,
                     'source_preference': pref,
                     'source_preference': pref,
                     'url': urljoin(spl_url, stream['url']),
                     'url': urljoin(spl_url, stream['url']),