mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-05 17:12:36 +00:00
[pandatv] fix condition syntax
This commit is contained in:
parent
8569058f88
commit
4993132344
@ -36,7 +36,7 @@ class PandaTVIE(InfoExtractor):
|
||||
'https://www.panda.tv/api_room_v2?roomid=%s' % video_id, video_id)
|
||||
|
||||
error_code = config.get('errno', 0)
|
||||
if error_code is not 0:
|
||||
if error_code != 0:
|
||||
raise ExtractorError(
|
||||
'%s returned error %s: %s'
|
||||
% (self.IE_NAME, error_code, config['errmsg']),
|
||||
|
Loading…
Reference in New Issue
Block a user