projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04edb9c
)
[jsinterp] Correct div command
author
Philipp Hagemeister
<phihag@phihag.de>
Mon, 2 Feb 2015 00:49:32 +0000
(
01:49
+0100)
committer
Philipp Hagemeister
<phihag@phihag.de>
Mon, 2 Feb 2015 00:49:32 +0000
(
01:49
+0100)
youtube_dl/jsinterp.py
patch
|
blob
|
history
diff --git
a/youtube_dl/jsinterp.py
b/youtube_dl/jsinterp.py
index 49364786bd17c0d1c55d9094c6d0795d2b2f5224..453e2732cc4faa453a98b153356c2188feef1d35 100644
(file)
--- a/
youtube_dl/jsinterp.py
+++ b/
youtube_dl/jsinterp.py
@@
-17,7
+17,7
@@
_OPERATORS = [
('-', operator.sub),
('+', operator.add),
('%', operator.mod),
- ('/', operator.div),
+ ('/', operator.
true
div),
('*', operator.mul),
]
_ASSIGN_OPERATORS = [(op + '=', opfunc) for op, opfunc in _OPERATORS]