From e18334a94af937fb529eff13bf6437281e76b5e7 Mon Sep 17 00:00:00 2001 From: "Christian Y. Brenninkmeijer" Date: Tue, 3 Dec 2024 15:25:08 +0000 Subject: [PATCH] use self._database_file --- spinn_front_end_common/utilities/base_database.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spinn_front_end_common/utilities/base_database.py b/spinn_front_end_common/utilities/base_database.py index 940b1e61a..12223ce86 100644 --- a/spinn_front_end_common/utilities/base_database.py +++ b/spinn_front_end_common/utilities/base_database.py @@ -69,11 +69,11 @@ def __init__(self, database_file: Optional[str] = None, *, text_factory=text_factory, ddl_file=_DDL_FILE) reset = FecDataView.get_reset_number() if (reset not in reset_cache or - reset_cache[reset] != database_file): - reset_cache[reset] = database_file + reset_cache[reset] != self._database_file): + reset_cache[reset] = self._database_file @classmethod - def reset_file(cls, reset_number) -> str: + def reset_file(cls, reset_number: int) -> str: """ Provides the database file uses during this reset """