anki: fix answerKeys of length one
This commit is contained in:
parent
9d1c71f390
commit
156b698b75
1 changed files with 1 additions and 1 deletions
|
|
@ -112,7 +112,7 @@ let
|
|||
|
||||
answer_keys: tuple[tuple[int, str], ...] = (${
|
||||
lib.strings.concatMapStringsSep ", " (val: "(${toString val.ease}, '${val.key}')") cfg.answerKeys
|
||||
})
|
||||
}${if cfg.answerKeys != [ ] then "," else ""})
|
||||
for ease, key in answer_keys:
|
||||
profile_manager.set_answer_key(ease, key)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue