From db469a35cfe442bf72dae99547f4f3b601673177 Mon Sep 17 00:00:00 2001 From: KevinMidboe Date: Tue, 31 Jan 2017 23:13:51 +0100 Subject: [PATCH] Another syntax error fixed (extra + at line 23) --- v1/uptime.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/v1/uptime.py b/v1/uptime.py index caa21e2..1ff020f 100755 --- a/v1/uptime.py +++ b/v1/uptime.py @@ -3,7 +3,7 @@ # @Author: KevinMidboe # @Date: 2017-01-27 19:48:42 # @Last Modified by: KevinMidboe -# @Last Modified time: 2017-01-31 23:11:42 +# @Last Modified time: 2017-01-31 23:13:20 # TODO add better error handling to return statements @@ -20,7 +20,7 @@ def secToDay(seconds): def secToHour(seconds): hours = (seconds)//3600 minutes = (seconds - hours*3600)//60 - hourMinutes = '%02d' % hours + +':'+ '%02d' % minutes + hourMinutes = '%02d' % hours +':'+ '%02d' % minutes return hourMinutes def timeSinceBoot():