From c0a69587f3fbce73b9d09dc2570fbdde7cf1bfa1 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Wed, 8 Jan 2020 20:29:15 +1000 Subject: [PATCH] fix type answer filter --- pylib/anki/template2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylib/anki/template2.py b/pylib/anki/template2.py index eb175d952..5be12ea94 100644 --- a/pylib/anki/template2.py +++ b/pylib/anki/template2.py @@ -344,7 +344,7 @@ def text_filter(txt: str, *args) -> str: return stripHTML(txt) -def type_answer_filter(txt: str, args, context, tag: str) -> str: +def type_answer_filter(txt: str, args, context, tag: str, dummy) -> str: # convert it to [[type:...]] for the gui code to process return "[[type:%s]]" % tag