diff options
author | Thanos Apollo <[email protected]> | 2024-03-05 07:57:57 +0200 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2024-03-05 07:57:57 +0200 |
commit | 9517d5da9c3bf68c0b4e91d1cb8605937ae8e7d7 (patch) | |
tree | 4ac7dcd62b064d15fb4a1bfc40db5295920a7185 | |
parent | fd5793319cf54ba58f8ac92575d72ad50785e999 (diff) |
gnosis-edit-update-note: Adjust cl-assert options for MCQ
-rw-r--r-- | gnosis.el | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1361,7 +1361,7 @@ SUSPEND: Suspend note, 0 for unsuspend, 1 for suspend" "Extra-notes must be a string, or nil") (cl-assert (listp tags) nil "Tags must be a list of strings") (cl-assert (and (listp ef) (length= ef 3)) nil "ef must be a list of 3 floats") - (cl-assert (stringp options) nil "Options must be a string") + (cl-assert (or (stringp options) (listp options)) nil "Options must be a string, or a list for MCQ") ;; Construct the update clause for the emacsql update statement. (cl-loop for (field . value) in `((main . ,main) |