This website works better with JavaScript.
Home
Help
Sign In
zolfa
/
youtube-dl
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
1.1k
Wiki
Activity
Browse Source
[jsinterp] Correct div command
totalwebcasting
Philipp Hagemeister
10 years ago
parent
04edb9caf5
commit
8cfb6efe6f
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
youtube_dl/jsinterp.py
+ 1
- 1
youtube_dl/jsinterp.py
View File
@ -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
]
Write
Preview
Loading…
Cancel
Save