Skip to content

Commit

Permalink
database.files_db:FileDB.upgrade - run init after upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
MatteoCampinoti94 committed Aug 20, 2024
1 parent 8334d38 commit 4320a15
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions acacore/database/files_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,7 @@ def upgrade(self):
from acacore.database.upgrade import upgrade

upgrade(self)
self.init()

def is_empty(self) -> bool:
"""Check if the database contains any files."""
Expand Down

0 comments on commit 4320a15

Please sign in to comment.