From e649b4bd300fe9e97a6c70ce7675491c057eb967 Mon Sep 17 00:00:00 2001 From: Daniel Adler Date: Thu, 16 May 2024 14:25:43 +0200 Subject: [PATCH] examples/vectorsearch-cites: Bug fix #45 --- example/vectorsearch-cities/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/vectorsearch-cities/__main__.py b/example/vectorsearch-cities/__main__.py index b9d86d0..65d1962 100644 --- a/example/vectorsearch-cities/__main__.py +++ b/example/vectorsearch-cities/__main__.py @@ -24,7 +24,7 @@ def __init__(self, *args): dbdir = "cities-db" new_db = not os.path.exists(dbdir) self._store = objectbox.Store(model=get_objectbox_model(),directory=dbdir) - self._box = _store.box(City) + self._box = self._store.box(City) self._name_prop: Property = City.get_property("name") self._location_prop: Property = City.get_property("location") if new_db: