Fix bug
This commit is contained in:
2
db.py
2
db.py
@@ -46,6 +46,8 @@ class CwmDb:
|
|||||||
self.__write_version()
|
self.__write_version()
|
||||||
if 'key' not in self._exist_tables:
|
if 'key' not in self._exist_tables:
|
||||||
self._db.execute(KEY_TABLE)
|
self._db.execute(KEY_TABLE)
|
||||||
|
if 'division' not in self._exist_tables:
|
||||||
|
self._db.execute(DIVISION_TABLE)
|
||||||
self._db.commit()
|
self._db.commit()
|
||||||
|
|
||||||
def __write_version(self):
|
def __write_version(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user