1
0
Fork 0

[outtmpl] Support multiplication

Related: #8683
This commit is contained in:
pukkandan 2023-12-06 03:44:11 +05:30
commit 993edd3f6e
No known key found for this signature in database
GPG key ID: 7EEE9E1E817D0A39
3 changed files with 3 additions and 1 deletions

View file

@ -1179,6 +1179,7 @@ class YoutubeDL:
MATH_FUNCTIONS = {
'+': float.__add__,
'-': float.__sub__,
'*': float.__mul__,
}
# Field is of the form key1.key2...
# where keys (except first) can be string, int, slice or "{field, ...}"