projects
/
pysvrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d21f7d8
)
Oups.
author
Francois Fleuret
<francois@fleuret.org>
Sat, 17 Jun 2017 18:57:18 +0000
(20:57 +0200)
committer
Francois Fleuret
<francois@fleuret.org>
Sat, 17 Jun 2017 18:57:18 +0000
(20:57 +0200)
cnn-svrt.py
patch
|
blob
|
history
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):
- if n > 1000000 and n%1000000 == 0:
+ if n >
=
1000000 and n%1000000 == 0:
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)