소스 검색

[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