Removed repetition

This commit is contained in:
JChris246 2019-08-11 16:08:07 -04:00
parent deb1525c05
commit ad3a52a278

View File

@ -29,7 +29,7 @@ class CamsodaIE(InfoExtractor):
'https://www.camsoda.com/api/v1/user/%s' % video_id, 'https://www.camsoda.com/api/v1/user/%s' % video_id,
'Downloading user data', video_id) 'Downloading user data', video_id)
if (not user_data.get('status')) or user_data.get('status') == 0: if not user_data.get('status'):
raise ExtractorError('No broadcaster found', expected=True) raise ExtractorError('No broadcaster found', expected=True)
user = user_data.get('user') user = user_data.get('user')