Minor cleanups to load-config.
This commit is contained in:
parent
ef77026c0c
commit
794f08a7be
1 changed files with 3 additions and 4 deletions
|
@ -51,9 +51,8 @@ are in the plugins folder in coleslaw's source directory."
|
|||
:key #'(lambda (str) (cl-fad:pathname-as-directory str))
|
||||
:test #'equal)))
|
||||
(if section
|
||||
(progn
|
||||
(setf *config* (apply #'make-instance 'blog (cdr section)))
|
||||
(setf (slot-value *config* 'repo) config-key))
|
||||
(error 'unknown-config-section-error
|
||||
(setf *config* (apply #'make-instance 'blog (cdr section))
|
||||
(repo *config*) config-key)
|
||||
(error 'unknown-config-section-error
|
||||
:text (format nil "In ~A: No such key: '~A'." in config-key)))))
|
||||
(load-plugins (plugins *config*)))))
|
||||
|
|
Loading…
Add table
Reference in a new issue