diff options
author | Sergey M․ <dstftw@gmail.com> | 2015-08-16 19:59:03 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2015-08-16 19:59:03 +0600 |
commit | 008687427725b8d857c44d75f358059c2533539a (patch) | |
tree | b0f2c26fb824edbb709b21cc580a38687b829deb /youtube_dl/extractor | |
parent | 7fc18d930917ad407c78bb9b0465dc4fae2fb335 (diff) |
[playtvak] Use tuples
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r-- | youtube_dl/extractor/playtvak.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/extractor/playtvak.py b/youtube_dl/extractor/playtvak.py index 2b338966f..278fdc1aa 100644 --- a/youtube_dl/extractor/playtvak.py +++ b/youtube_dl/extractor/playtvak.py @@ -120,7 +120,7 @@ class PlaytvakIE(InfoExtractor): if not item: raise ExtractorError('No suitable stream found') - quality = qualities(['low', 'middle', 'high']) + quality = qualities(('low', 'middle', 'high')) formats = [] for fmt in item['video']: @@ -132,7 +132,7 @@ class PlaytvakIE(InfoExtractor): format_id = '%s_%s' % (format_, fmt['quality']) preference = None - if format_ in ['mp4', 'webm']: + if format_ in ('mp4', 'webm'): ext = format_ elif format_ == 'rtmp': ext = 'flv' |