projects
/
pysvrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Oups.
[pysvrt.git]
/
cnn-svrt.py
diff --git
a/cnn-svrt.py
b/cnn-svrt.py
index
153bdc9
..
d44de2a
100755
(executable)
--- a/
cnn-svrt.py
+++ b/
cnn-svrt.py
@@
-255,9
+255,9
@@
for arg in vars(args):
######################################################################
def int_to_suffix(n):
######################################################################
def int_to_suffix(n):
- if n > 1000000 and n%1000000 == 0:
+ if n >
=
1000000 and n%1000000 == 0:
return str(n//1000000) + 'M'
return str(n//1000000) + 'M'
- elif n > 1000 and n%1000 == 0:
+ elif n >
=
1000 and n%1000 == 0:
return str(n//1000) + 'K'
else:
return str(n)
return str(n//1000) + 'K'
else:
return str(n)