Merge branch 'master' of github.com:KevinMidboe/homeChecker

This commit is contained in:
2017-02-10 23:36:41 +01:00
2 changed files with 1 additions and 1 deletions

BIN
home.db

Binary file not shown.

View File

@@ -44,7 +44,7 @@ def convertTime(seconds):
if not isinstance(seconds, (int, float)):
return 'Null'
delta = float("%0.2f" % (time() - seconds))
delta = int(time() - seconds)
if delta >= 86400:
return str(delta//86400) + ' days'
elif delta >= 3600: