From 4c95baa7cde93a2566a468fd12cc53b768dbdc1f Mon Sep 17 00:00:00 2001 From: Christian Mueller Date: Thu, 21 Jun 2012 23:16:36 +0200 Subject: [PATCH] bugfix in the settings provider --- src/NoteHub/settings.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NoteHub/settings.clj b/src/NoteHub/settings.clj index b54dbf6..512fa23 100644 --- a/src/NoteHub/settings.clj +++ b/src/NoteHub/settings.clj @@ -36,7 +36,7 @@ value (settings-map key) ; Through this hack we can read security-critical settings from (previously ; set) shell variables without commiting their content to CVS - value (if-not value + value (if value value (System/getenv (upper-case (replace (name key) #"-" ""))))]