]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[npo] Fix typo
authorSergey M․ <dstftw@gmail.com>
Fri, 2 Mar 2018 18:47:09 +0000 (01:47 +0700)
committerSergey M․ <dstftw@gmail.com>
Fri, 2 Mar 2018 18:47:09 +0000 (01:47 +0700)
youtube_dl/extractor/npo.py

index eafce4b84a3b85221bc75ed9973a24a2b2766633..ff215338744893a29b93202e6f1f72dd0186546f 100644 (file)
@@ -233,7 +233,7 @@ class NPOIE(NPOBaseIE):
                     quality = quality_from_format_id(format_id)
                     f_id = format_id
                 else:
-                    quality, f_id = None
+                    quality, f_id = [None] * 2
                 formats.append({
                     'url': format_url,
                     'format_id': f_id,