mirror of
https://github.com/yt-dlp/yt-dlp
synced 2024-12-25 21:59:04 +01:00
fix rounding of decimal comparison values in format filters
This commit is contained in:
parent
d298693b1b
commit
663364f5c4
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue