From 4e5343d14d4317c03ff7f7587f50d1e7fbf7b39d Mon Sep 17 00:00:00 2001 From: Sven Augustin Date: Wed, 26 Mar 2025 16:14:21 +0100 Subject: [PATCH] handle case where host is not given --- bstrd/bscache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bstrd/bscache.py b/bstrd/bscache.py index 11bb995..1b836ce 100644 --- a/bstrd/bscache.py +++ b/bstrd/bscache.py @@ -126,7 +126,7 @@ class BSCache: @property def uses_dispatcher(self): - return not bool(self.kwargs["host"]) + return not bool(self.kwargs.get("host"))