mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-18 16:12:42 +01:00
scripts/supybot: use %.2f for rounding
This commit is contained in:
parent
fc418d35b0
commit
6fa96df607
@ -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__':
|
||||
|
Loading…
Reference in New Issue
Block a user