From 37b52a7013508f86d7b8d48a2fd2b0f74a137276 Mon Sep 17 00:00:00 2001 From: Nicolas Forstner <70640646+nlsfnr@users.noreply.github.com> Date: Fri, 3 Mar 2023 18:00:41 +0000 Subject: [PATCH] Fixed F-string in logging message (#195) --- chromadb/db/index/hnswlib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chromadb/db/index/hnswlib.py b/chromadb/db/index/hnswlib.py index e712a86c359..eb014ccf9cb 100644 --- a/chromadb/db/index/hnswlib.py +++ b/chromadb/db/index/hnswlib.py @@ -134,7 +134,7 @@ def _save(self): with open(f"{self._save_folder}/index_metadata_{self._collection_uuid}.pkl", "wb") as f: pickle.dump(self._index_metadata, f, pickle.HIGHEST_PROTOCOL) - logger.debug("Index saved to {self._save_folder}/index.bin") + logger.debug(f"Index saved to {self._save_folder}/index.bin") def load_if_not_loaded(self, collection_uuid): if self._collection_uuid != collection_uuid: