summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mulk/benki/db.clj2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mulk/benki/db.clj b/src/mulk/benki/db.clj
index d2349e9..c1f5cc6 100644
--- a/src/mulk/benki/db.clj
+++ b/src/mulk/benki/db.clj
@@ -9,7 +9,7 @@
:subprotocol "postgresql"
:subname "//localhost:5432/benki"
:user "benki"
- :password (slurp "dbpassword.txt")})
+ :password (clojure.string/trim (slurp "dbpassword.txt"))})
(defn call-with-db [thunk]
(sql/with-connection db