From: Sergey M․ Date: Tue, 22 Sep 2015 16:00:50 +0000 (+0600) Subject: [viewster] Use tuple X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=d0fed4ac028baa40b18082fd813ed93cd658ebe8;p=youtube-dl [viewster] Use tuple --- 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,