summaryrefslogtreecommitdiff
path: root/archey
diff options
context:
space:
mode:
authorMelik Manukyan <melik@remus.gateway.2wire.net>2009-12-10 21:33:56 -0800
committerMelik Manukyan <melik@remus.gateway.2wire.net>2009-12-10 21:33:56 -0800
commitd6ad49be46c119307f3df9be9202ac4328747307 (patch)
treea92782796b64971295aa873491c4159048c29804 /archey
parent572d3f7451e6b684342a10049a3ef0aaed2ec3dd (diff)
fixed small bug in uptime function
Diffstat (limited to 'archey')
-rwxr-xr-xarchey2
1 files changed, 1 insertions, 1 deletions
diff --git a/archey b/archey
index 0c56040..535daba 100755
--- a/archey
+++ b/archey
@@ -77,7 +77,7 @@ def uptime_display():
minute = int(fuptime / 60)
uptime = ''
if day == 1:
- uptime += '% day, ' % day
+ uptime += '%d day, ' % day
if day > 1:
uptime += '%d days, ' % day
uptime += '%d:%02d' % (hour, minute)