mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-12-23 06:57:54 +01:00
[jsinterp] Correct div command
This commit is contained in:
parent
04edb9caf5
commit
8cfb6efe6f
@ -17,7 +17,7 @@ _OPERATORS = [
|
|||||||
('-', operator.sub),
|
('-', operator.sub),
|
||||||
('+', operator.add),
|
('+', operator.add),
|
||||||
('%', operator.mod),
|
('%', operator.mod),
|
||||||
('/', operator.div),
|
('/', operator.truediv),
|
||||||
('*', operator.mul),
|
('*', operator.mul),
|
||||||
]
|
]
|
||||||
_ASSIGN_OPERATORS = [(op + '=', opfunc) for op, opfunc in _OPERATORS]
|
_ASSIGN_OPERATORS = [(op + '=', opfunc) for op, opfunc in _OPERATORS]
|
||||||
|
Loading…
Reference in New Issue
Block a user