mirror of
https://github.com/283375/arcaea-offline-pyside-ui.git
synced 2025-04-04 10:20:18 +00:00
fix: ensure database reset works
This commit is contained in:
parent
a51a67fae3
commit
0b599e3d9c
2
index.py
2
index.py
@ -68,7 +68,7 @@ if __name__ == "__main__":
|
||||
|
||||
databaseChecker = DatabaseChecker()
|
||||
databaseChecker.setWindowIcon(QIcon(":/images/icon.png"))
|
||||
databaseCheckResult = databaseChecker.confirmDb()
|
||||
databaseCheckResult = databaseChecker.confirmDb() if Settings().databaseUrl() else 0
|
||||
|
||||
if not databaseCheckResult & DatabaseCheckerResult.Initted:
|
||||
result = databaseChecker.exec()
|
||||
|
Loading…
x
Reference in New Issue
Block a user