From a0de65c26758ec247ff419b9b53725733ed0e76c Mon Sep 17 00:00:00 2001 From: Francois Fleuret Date: Sat, 17 Jun 2017 20:57:18 +0200 Subject: [PATCH] Oups. --- cnn-svrt.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cnn-svrt.py b/cnn-svrt.py index 153bdc9..d44de2a 100755 --- 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) -- 2.39.5