From 6fa96df6072d4e1a8df08698fbbbecc2098560b7 Mon Sep 17 00:00:00 2001 From: James Lu Date: Sat, 11 Apr 2015 13:33:34 -0700 Subject: [PATCH] scripts/supybot: use %.2f for rounding --- scripts/supybot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/supybot b/scripts/supybot index 03fc0daeb..05643cfee 100644 --- a/scripts/supybot +++ b/scripts/supybot @@ -132,7 +132,7 @@ def main(): seconds = now - world.startedAt log.info('Total uptime: %s.', utils.gen.timeElapsed(seconds)) (user, system, _, _, _) = os.times() - log.info('Total CPU time taken: %s seconds.', round(user+system, 2)) + log.info('Total CPU time taken: %.2f seconds.', user+system) log.info('No more Irc objects, exiting.') if __name__ == '__main__':