fix 'set due date' not being remembered in browser

https://forums.ankiweb.net/t/anki-2-1-45-beta/10664/19
This commit is contained in:
Damien Elmes 2021-06-16 18:49:50 +10:00
parent 1dd7bacf75
commit b26e125cbd

View File

@ -168,7 +168,7 @@ select id from cards where did in %s and queue = {QUEUE_TYPE_REV} and due <= ? l
`days` can be of the form '5' or '5..7'
If `config_key` is provided, provided days will be remembered in config."""
key: Optional[Config.String]
if config_key:
if config_key is not None:
key = Config.String(key=config_key)
else:
key = None