diff options
-rw-r--r-- | src/monitor.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/monitor.py b/src/monitor.py index f65ce9d..ed51223 100644 --- a/src/monitor.py +++ b/src/monitor.py @@ -399,4 +399,4 @@ class Monitor: hours = uptime / 3600 mins = (uptime - (hours * 3600)) / 60 secs = uptime % 60 - return _("%(hours)d hours, %(mins)d minutes, %(secs)d seconds") % {"hours" : hours, "mins" : mins, "secs" : secs} + return _("%(hours)d hours, %(mins)d minutes, %(secs)d seconds") % {"hours" : (int) hours, "mins" : (int) mins, "secs" : secs} |