1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-12-22 22:47:55 +01:00

[jsinterp] Correct div command

This commit is contained in:
Philipp Hagemeister 2015-02-02 01:49:32 +01:00
parent 04edb9caf5
commit 8cfb6efe6f

View File

@ -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]