1
0
mirror of https://github.com/yt-dlp/yt-dlp synced 2025-12-22 00:55:43 +07:00
Files
yt-dlp/youtube_dl/compat.py
Philipp Hagemeister 4810c48d6d [compat] Do not compare None <= 0
The result is meaningless (and it emits a warning in cpython2 when called with -3), so handle None before making integer comparisons.
2015-10-06 14:30:43 +02:00

16 KiB