@ -101,11 +101,9 @@ def uptime_extractor(uptime):
second = int(second)
except:
second = 0
# current timestamp
ts = round(time.time())
# remove all value extracted
uptime = ts - 3600 * hour - minute * 60 - second
uptime = 3600 * hour - minute * 60 - second
return uptime