mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-04-16 05:39:58 +00:00
fix rounding of decimal comparison values in format filters
This commit is contained in:
parent
d298693b1b
commit
663364f5c4
@ -2108,7 +2108,7 @@ class YoutubeDL:
|
||||
m = operator_rex.fullmatch(filter_spec)
|
||||
if m:
|
||||
try:
|
||||
comparison_value = int(m.group('value'))
|
||||
comparison_value = float(m.group('value'))
|
||||
except ValueError:
|
||||
comparison_value = parse_filesize(m.group('value'))
|
||||
if comparison_value is None:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user