Selaa lähdekoodia

do not use f-strings

Petr Vaněk 3 vuotta sitten
vanhempi
sitoutus
d02064218b
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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'):
                     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']),