From 89e46d54ea61e11ece83860f23f3114a5db04a71 Mon Sep 17 00:00:00 2001 From: Maciej Pasternacki Date: Mon, 26 Dec 2011 17:21:01 +0100 Subject: [PATCH] Coerce *db* parameters to 'simple-string. --- src/common.lisp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/common.lisp b/src/common.lisp index 6ae47c8..a018932 100644 --- a/src/common.lisp +++ b/src/common.lisp @@ -133,7 +133,8 @@ Should be first thing called in final init routine." (defun init-db-connection (&optional (section-name "db") (connect-toplevel-p t)) "Initialize database connection from config.ini" (flet ((opt (name) - (py-configparser:get-option *config* section-name name))) + (coerce (py-configparser:get-option *config* section-name name) + 'simple-string))) (setf *db* (list (opt "database") (opt "username") (opt "password") -- 2.11.4.GIT