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"))