diff options
author | Colin Okay <okay@toyful.space> | 2022-03-01 11:29:07 -0600 |
---|---|---|
committer | Colin Okay <okay@toyful.space> | 2022-03-01 11:29:07 -0600 |
commit | c028a38f6b2c72c9be9c98d6f0dd1b376d58779c (patch) | |
tree | 1a975a546f529b5e881975cfaaf98ac698ccc23c | |
parent | 164673d23241f9b503396480be2093806d8a8f86 (diff) |
bugfix. forgot to ensure config in fallback to http request
-rw-r--r-- | oneliners.cli.asd | 2 | ||||
-rw-r--r-- | src/lib.lisp | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/oneliners.cli.asd b/oneliners.cli.asd index 1993389..ff3aae7 100644 --- a/oneliners.cli.asd +++ b/oneliners.cli.asd @@ -1,5 +1,5 @@ (defsystem "oneliners.cli" - :version "0.4.0" + :version "0.4.1" :author "Colin Okay" :license "AGPLv3" :depends-on ("trivial-clipboard" diff --git a/src/lib.lisp b/src/lib.lisp index d990b22..f9d81aa 100644 --- a/src/lib.lisp +++ b/src/lib.lisp @@ -257,6 +257,7 @@ the directories that appear in the value of that variable." (bind-vars-and-run-oneliner ol args force-clip)) (when (and by-id (not found)) (format t "Trying to fetch that oneliner with id ~a from the wiki.~%" item-number) + (ensure-config) (a:if-let ((ol (api:request-with (:host (host)) (jonathan:parse |