minor bug fix

This commit is contained in:
2021-09-06 21:40:13 +08:00
parent 8c65d63900
commit 829b2f9bc2
4 changed files with 13 additions and 5 deletions

View File

@@ -52,6 +52,8 @@ class Db:
self.__write_version()
if 'files' not in self._exist_table:
self.db.execute(FILES_TABLE)
if 'filetype' not in self._exist_table:
self.db.execute(FILETYPE_TABLE)
self.db.commit()
def __init__(self, loc: str):