diff options
Diffstat (limited to 'youtube')
-rw-r--r-- | youtube/watch.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube/watch.py b/youtube/watch.py index 5bb3341..32b6eef 100644 --- a/youtube/watch.py +++ b/youtube/watch.py @@ -578,7 +578,7 @@ def get_watch_page(video_id=None): 'quality') uni_quality = yt_data_extract.deep_get(uni_sources, uni_idx, 'quality') using_pair_sources = ( - pair_sources and (not uni_sources or pair_quality != uni_quality) + bool(pair_sources) and (not uni_sources or pair_quality != uni_quality) ) # 1 second per pixel, or the actual video width |