projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8569058
)
[pandatv] fix condition syntax
author
Remita Amine
<remitamine@gmail.com>
Mon, 11 Mar 2019 14:37:19 +0000
(15:37 +0100)
committer
Remita Amine
<remitamine@gmail.com>
Mon, 11 Mar 2019 14:37:19 +0000
(15:37 +0100)
youtube_dl/extractor/pandatv.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/pandatv.py
b/youtube_dl/extractor/pandatv.py
index 13a2e7efc76e4f0fbd9e778644781c5218770f61..4219802d520cbd150b10d16d95fd8c3521f67793 100644
(file)
--- 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']),