handle case where host is not given

This commit is contained in:
2025-03-26 16:14:21 +01:00
parent 17348175ea
commit 4e5343d14d

View File

@ -126,7 +126,7 @@ class BSCache:
@property
def uses_dispatcher(self):
return not bool(self.kwargs["host"])
return not bool(self.kwargs.get("host"))