瀏覽代碼

[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