From c028a38f6b2c72c9be9c98d6f0dd1b376d58779c Mon Sep 17 00:00:00 2001 From: Colin Okay Date: Tue, 1 Mar 2022 11:29:07 -0600 Subject: bugfix. forgot to ensure config in fallback to http request --- oneliners.cli.asd | 2 +- src/lib.lisp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3