fix deletion of dorodata on startup

master
Josha von Gizycki 5 years ago
parent e8d54c6fd5
commit 8c48f52471

@ -55,9 +55,12 @@
entries)
(defn ensure-dorodata []
(let [f (file/open dorodata :r)]
(if (nil? f)
(-> (file/open dorodata :w)
(file/flush)
(file/close)))
(file/close))
(file/close f))))
(defn load-entries []
(let [f (file/open dorodata :r)

Loading…
Cancel
Save