youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit 4993132344611e77e71d27cbd4803a323e7006f4
parent 8569058f88f2abbc8c7377439d36fc13532bdbe3
Author: Remita Amine <remitamine@gmail.com>
Date:   Mon, 11 Mar 2019 15:37:19 +0100

[pandatv] fix condition syntax

Diffstat:
Myoutube_dl/extractor/pandatv.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/youtube_dl/extractor/pandatv.py b/youtube_dl/extractor/pandatv.py @@ -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']),