diff --git a/src/utils.py b/src/utils.py index 0024678aa..fcb271f66 100755 --- a/src/utils.py +++ b/src/utils.py @@ -91,6 +91,7 @@ def abbrev(strings): def timeElapsed(elapsed, leadingZeroes=False, years=True, weeks=True, days=True, hours=True, minutes=True, seconds=True): + elapsed = int(elapsed) assert years or weeks or days or \ hours or minutes or seconds, 'One flag must be True' ret = []