1
0
Переглянути джерело

[core] load config from current dir

Innocenty Enikeew 7 роки тому
батько
коміт
67ec64b837
1 змінених файлів з 1 додано та 4 видалено
  1. 1 4
      chatikbot.lisp

+ 1 - 4
chatikbot.lisp

@@ -55,10 +55,7 @@
 
 (eval-when (:load-toplevel :execute)
   ;; Load config file
-  (alexandria:when-let (file (probe-file
-                              (merge-pathnames "config.lisp"
-                                               (asdf:component-pathname
-                                                (asdf:find-system '#:chatikbot)))))
+  (alexandria:when-let (file (probe-file "config.lisp"))
     (load file))
 
   ;; Init database