summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoreltrac <hi@eltr.ac>2026-09-17 09:34:30 +0800
committereltrac <hi@eltr.ac>2026-09-17 09:34:30 +0800
commitbf82e9c2b180d0f4ac2c62348ed2f3b2e7d46fac (patch)
treecc9fc8401fa617e6b55f1145d949b0e9c4aad1cf /src
parentb30a2c3fb48fb4e78cfe02b977665df8ca14f6a0 (diff)
fix #34
Diffstat (limited to 'src')
-rw-r--r--src/weepinbell/storage/edn_storage.clj1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/weepinbell/storage/edn_storage.clj b/src/weepinbell/storage/edn_storage.clj
index b36e07e..36292c8 100644
--- a/src/weepinbell/storage/edn_storage.clj
+++ b/src/weepinbell/storage/edn_storage.clj
@@ -84,6 +84,7 @@
;; make storage vtable
(defn use-store [datasource]
(when (not (file-exists? datasource))
+ (io/make-parents datasource)
(spit datasource ""))
{:append (partial append-wm datasource)
:update (partial update-wm datasource)