Skip to content
Snippets Groups Projects
Unverified Commit 831ad565 authored by Carel van Niekerk's avatar Carel van Niekerk Committed by GitHub
Browse files

Update vector_base.py

parent 4eb9bf6f
No related branches found
No related tags found
Loading
...@@ -316,7 +316,7 @@ class VectorBase(Vector): ...@@ -316,7 +316,7 @@ class VectorBase(Vector):
entities list: entities list:
list of entities of the specified domain list of entities of the specified domain
""" """
constraints = self.state[domain] constraints = self.state.get(domain, {})
# Leave slots out of constraints to find which slot constraint results in no entities being found # Leave slots out of constraints to find which slot constraint results in no entities being found
for constraint_slot in constraints: for constraint_slot in constraints:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment