summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)