From 9ba02b5ca6aa9cc6aa4eb9276160c3be646a660e Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Fri, 12 Mar 2021 15:47:11 +1000 Subject: [PATCH] fix set due date not remembering default in browse screen --- qt/aqt/scheduling.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qt/aqt/scheduling.py b/qt/aqt/scheduling.py index cd9f511aa..6e28e1ff2 100644 --- a/qt/aqt/scheduling.py +++ b/qt/aqt/scheduling.py @@ -24,7 +24,7 @@ def set_due_date_dialog( if not card_ids: return - default = mw.col.get_config_string(config_key) if config_key else "" + default = mw.col.get_config_string(config_key) if config_key is not None else "" prompt = "\n".join( [ tr(TR.SCHEDULING_SET_DUE_DATE_PROMPT, cards=len(card_ids)),