[viewster] Use tuple
authorSergey M․ <dstftw@gmail.com>
Tue, 22 Sep 2015 16:00:50 +0000 (22:00 +0600)
committerSergey M․ <dstftw@gmail.com>
Tue, 22 Sep 2015 16:00:50 +0000 (22:00 +0600)
youtube_dl/extractor/viewster.py

index 487f2d7442e40263decac29b0f40bf3ed825650d..632e57fb4277dbf23c3fa21683f27c70d278f996 100644 (file)
@@ -95,7 +95,7 @@ class ViewsterIE(InfoExtractor):
         entry_id = info.get('Id') or info['id']
 
         # unfinished serie has no Type
-        if info.get('Type') in ['Serie', None]:
+        if info.get('Type') in ('Serie', None):
             try:
                 episodes = self._download_json(
                     'https://public-api.viewster.com/series/%s/episodes' % entry_id,