mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
add missing short argument to legacy fmtTimeSpan()
This commit is contained in:
parent
e4bce71f2b
commit
cfe4af81cf
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ def stripSounds(text) -> str:
|
||||||
return aqt.mw.col.backend.strip_av_tags(text)
|
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()")
|
print("fmtTimeSpan() has become col.backend.format_time_span()")
|
||||||
return aqt.mw.col.backend.format_time_span(time)
|
return aqt.mw.col.backend.format_time_span(time)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue