summaryrefslogtreecommitdiff
path: root/gnosis.el
diff options
context:
space:
mode:
Diffstat (limited to 'gnosis.el')
-rw-r--r--gnosis.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnosis.el b/gnosis.el
index a1c356e..e25a59e 100644
--- a/gnosis.el
+++ b/gnosis.el
@@ -1390,7 +1390,7 @@ review."
;; Make sure gnosis-db is initialized
(setf gnosis-db (emacsql-sqlite (concat (file-name-as-directory gnosis-dir) "gnosis.db"))))
;; Create database tables
- (unless (length= (emacsql gnosis-db [:select name :from sqlite-master :where (= type table)]) 6)
+ (unless (= (length (emacsql gnosis-db [:select name :from sqlite-master :where (= type table)])) 6)
;; Enable foreign keys
(emacsql gnosis-db "PRAGMA foreign_keys = ON")
;; Gnosis version