summaryrefslogtreecommitdiff
path: root/brisket.hy
diff options
context:
space:
mode:
authorJakob L. Kreuze <zerodaysfordays@sdf.lonestar.org>2019-04-27 13:18:05 -0400
committerJakob L. Kreuze <zerodaysfordays@sdf.lonestar.org>2019-04-27 13:18:05 -0400
commit79432b77bd1a6f5b0b272b555b220ea96c266862 (patch)
tree8cd2c1aa185335fa11be0d5a46af1104bb215822 /brisket.hy
parente653e1385d19520f34e56bc2f5d585524f371270 (diff)
Fix call to 'makedirs in make-config
Diffstat (limited to 'brisket.hy')
-rw-r--r--brisket.hy2
1 files changed, 1 insertions, 1 deletions
diff --git a/brisket.hy b/brisket.hy
index bc983a4..a05ff36 100644
--- a/brisket.hy
+++ b/brisket.hy
@@ -172,7 +172,7 @@ populated with default configuration values."
(let [config (ConfigParser)]
(assoc config "Server" {})
(assoc (get config "Server") "Host" "news.eternal-september.org")
- (makedirs (dirname *config-path*))
+ (makedirs (dirname *config-path*) :exist-ok True)
(with [out (open *config-path* "w+")]
(.write config out))
config))