From cfe4af81cfc3e14f55b4ac11181ce714585611bf Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Wed, 26 Feb 2020 20:36:59 +1000 Subject: [PATCH] add missing short argument to legacy fmtTimeSpan() --- qt/aqt/legacy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qt/aqt/legacy.py b/qt/aqt/legacy.py index 0318a2e44..79fd1f942 100644 --- a/qt/aqt/legacy.py +++ b/qt/aqt/legacy.py @@ -33,7 +33,7 @@ def stripSounds(text) -> str: return aqt.mw.col.backend.strip_av_tags(text) -def fmtTimeSpan(time, pad=0, point=0, inTime=False, unit=99): +def fmtTimeSpan(time, pad=0, point=0, short=False, inTime=False, unit=99): print("fmtTimeSpan() has become col.backend.format_time_span()") return aqt.mw.col.backend.format_time_span(time)