aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-09-22 22:00:50 +0600
committerSergey M․ <dstftw@gmail.com>2015-09-22 22:00:50 +0600
commitd0fed4ac028baa40b18082fd813ed93cd658ebe8 (patch)
tree70cbe5d78613cdd64fcddb09617afa5a1734ba06 /youtube_dl
parent7ce50a355c3a4cbd61f18fb16d8175a97f14d510 (diff)
[viewster] Use tuple
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/viewster.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/viewster.py b/youtube_dl/extractor/viewster.py
index 487f2d744..632e57fb4 100644
--- a/youtube_dl/extractor/viewster.py
+++ b/youtube_dl/extractor/viewster.py
@@ -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,