aboutsummaryrefslogtreecommitdiffstats
path: root/src/monitor.py
diff options
context:
space:
mode:
authorEugeni Dodonov <eugeni@mandriva.com>2010-03-10 12:10:58 -0300
committerEugeni Dodonov <eugeni@mandriva.com>2010-03-10 12:10:58 -0300
commitd259ed6efa32743a618e2f474ee434a0f90df07d (patch)
treeeaced7d4b45a18f8f6c6183fcf4cdeb60781e384 /src/monitor.py
parent00ccf043e2753005cf57149aee737df149644357 (diff)
downloadnet_monitor-d259ed6efa32743a618e2f474ee434a0f90df07d.tar
net_monitor-d259ed6efa32743a618e2f474ee434a0f90df07d.tar.gz
net_monitor-d259ed6efa32743a618e2f474ee434a0f90df07d.tar.bz2
net_monitor-d259ed6efa32743a618e2f474ee434a0f90df07d.tar.xz
net_monitor-d259ed6efa32743a618e2f474ee434a0f90df07d.zip
properly present uptime
Diffstat (limited to 'src/monitor.py')
-rw-r--r--src/monitor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/monitor.py b/src/monitor.py
index a6be211..e77847e 100644
--- a/src/monitor.py
+++ b/src/monitor.py
@@ -300,4 +300,4 @@ class Monitor:
hours = uptime / 3600
mins = (uptime - (hours * 3600)) / 60
secs = uptime % 60
- return _("%d: %d hours, %d minutes, %d seconds") % (uptime, hours, mins, secs)
+ return _("%d hours, %d minutes, %d seconds") % (hours, mins, secs)