diff options
author | Sergey M․ <dstftw@gmail.com> | 2015-06-10 23:01:12 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2015-06-10 23:01:12 +0600 |
commit | f98470df690d053e45691ede2751ab6a4063082b (patch) | |
tree | 55e9443f717dc02b9f06f0a3916c3f5918981d31 /youtube_dl/extractor/bilibili.py | |
parent | eb8be1fe76a9fbc285e6c957b3fdd5c05135ae3f (diff) |
[bilibili] Fix FutureWarning
Diffstat (limited to 'youtube_dl/extractor/bilibili.py')
-rw-r--r-- | youtube_dl/extractor/bilibili.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/bilibili.py b/youtube_dl/extractor/bilibili.py index 2103ed73a..bf60450c2 100644 --- a/youtube_dl/extractor/bilibili.py +++ b/youtube_dl/extractor/bilibili.py @@ -105,7 +105,7 @@ class BiliBiliIE(InfoExtractor): 'filesize': int_or_none( lq_durl.find('./size'), get_attr='text'), }] - if hq_durl: + if hq_durl is not None: formats.append({ 'format_id': 'hq', 'quality': 2, |