diff --git a/anki/utils.py b/anki/utils.py index 238a86fb6..3315225fd 100644 --- a/anki/utils.py +++ b/anki/utils.py @@ -58,7 +58,7 @@ def fmtTimeSpan(time, pad=0, point=0, short=False, after=False, unit=99): (type, point) = optimalPeriod(time, point, unit) time = convertSecondsTo(time, type) if not point: - time = round(time) + time = int(round(time)) if short: fmt = shortTimeFmt(type) else: