summaryrefslogtreecommitdiff
path: root/gnosis-dev.el
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-01-01 04:20:27 +0200
committerThanos Apollo <[email protected]>2024-01-01 04:20:27 +0200
commit7e887ef845fb3ab31d2bad0dba2e971686ce0088 (patch)
tree679b15004e33c295402d7a6d15357022e0131561 /gnosis-dev.el
parent3e4248c7b6f1b2d045dde9024f9fcba9df00b5a0 (diff)
Use file-name-as-directory
Diffstat (limited to 'gnosis-dev.el')
-rw-r--r--gnosis-dev.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnosis-dev.el b/gnosis-dev.el
index a8346e6..38dac88 100644
--- a/gnosis-dev.el
+++ b/gnosis-dev.el
@@ -82,7 +82,7 @@ If ask nil, leave development env"
(gnosis-dev-add-fields)
(message "Adding testing values...")
(message "Development env is ready for testing."))
- (setf gnosis-db (emacsql-sqlite-open (concat gnosis-dir "/" "gnosis.db")))
+ (setf gnosis-db (emacsql-sqlite (concat (file-name-as-directory gnosis-dir) "gnosis.db")))
(setf gnosis-testing nil)
(message "Exited development env."))))