diff options
author | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2011-12-03 23:29:38 +0100 |
---|---|---|
committer | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2011-12-03 23:29:38 +0100 |
commit | d190005e1be8b68eccdc91a29374a6bb6f459e2b (patch) | |
tree | 98b378792db66d4332469aa83bf70d6a882a823b | |
parent | 6303cc0dd294dac96c83e4639b5299523ad2299f (diff) |
Trim whitespace from password read from dbpassword.txt.
-rw-r--r-- | src/mulk/benki/db.clj | 2 |
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 |