[viewster] Use tuple

pull/6916/merge
Sergey M․ 9 years ago
parent 7ce50a355c
commit d0fed4ac02

@ -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,

Loading…
Cancel
Save