mirror of
https://github.com/KevinMidboe/homeChecker.git
synced 2025-10-29 09:30:27 +00:00
Changed the name of bazzinga to inga and change a little on the return type from macLookup.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user