aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorzezinho42 <lists.jjorge@free.fr>2020-05-24 19:33:43 +0200
committerzezinho42 <lists.jjorge@free.fr>2020-05-24 19:33:43 +0200
commit4db52fb5a8d9cd4c6fd53e7a9019cf01db72bdeb (patch)
treeaa561a2c8cfbc681bb5a673b284e9fa50653a05d /src
parentc84208d1de0be0ae40d7fc5672f8101587be1e5e (diff)
downloadnet_monitor-4db52fb5a8d9cd4c6fd53e7a9019cf01db72bdeb.tar
net_monitor-4db52fb5a8d9cd4c6fd53e7a9019cf01db72bdeb.tar.gz
net_monitor-4db52fb5a8d9cd4c6fd53e7a9019cf01db72bdeb.tar.bz2
net_monitor-4db52fb5a8d9cd4c6fd53e7a9019cf01db72bdeb.tar.xz
net_monitor-4db52fb5a8d9cd4c6fd53e7a9019cf01db72bdeb.zip
Revert previous commit : the app would not start anymore0.26
Diffstat (limited to 'src')
-rw-r--r--src/monitor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/monitor.py b/src/monitor.py
index 4c4b5ef..ac625e6 100644
--- a/src/monitor.py
+++ b/src/monitor.py
@@ -437,4 +437,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" : (int) hours, "mins" : (int) mins, "secs" : secs}
+ return _("%(hours)d hours, %(mins)d minutes, %(secs)d seconds") % {"hours" : hours, "mins" : mins, "secs" : secs}