Skip to content

Commit

Permalink
use self._database_file
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian-B committed Dec 3, 2024
1 parent 7e18415 commit e18334a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spinn_front_end_common/utilities/base_database.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
"""
Expand Down

0 comments on commit e18334a

Please sign in to comment.