fix type answer filter

This commit is contained in:
Damien Elmes 2020-01-08 20:29:15 +10:00
parent ad17c765e6
commit c0a69587f3

View file

@ -344,7 +344,7 @@ def text_filter(txt: str, *args) -> str:
return stripHTML(txt) 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 # convert it to [[type:...]] for the gui code to process
return "[[type:%s]]" % tag return "[[type:%s]]" % tag