mirror of
https://github.com/KevinMidboe/homeChecker.git
synced 2025-10-29 17:40:26 +00:00
Removed long in 'int, float'
This commit is contained in:
@@ -41,7 +41,7 @@ def getTimes():
|
|||||||
return returnList
|
return returnList
|
||||||
|
|
||||||
def convertTime(seconds):
|
def convertTime(seconds):
|
||||||
if not isinstance(seconds, (int, long, float)):
|
if not isinstance(seconds, (int, float)):
|
||||||
return 'Null'
|
return 'Null'
|
||||||
|
|
||||||
delta = float("%0.2f" % (time() - seconds))
|
delta = float("%0.2f" % (time() - seconds))
|
||||||
|
|||||||
Reference in New Issue
Block a user