Re-add missing fix for candidates removed in refactor

Resolves #1763.
This commit is contained in:
Griatch 2019-01-04 19:36:24 +01:00
parent 598126d25c
commit 855e7f32b0

View file

@ -432,8 +432,8 @@ class DefaultObject(with_metaclass(TypeclassBase, ObjectDB)):
# only allow exact matching if searching the entire database
# or unique #dbrefs
exact = True
else:
# TODO: write code...if candidates is None:
elif candidates is None:
# no custom candidates given - get them automatically
if location:
# location(s) were given