1
0

follow-up storage/db changes

follow-up b96cc82333
This commit is contained in:
SomberNight
2023-08-22 14:50:30 +00:00
parent e23c6c7050
commit 7482e275b9
4 changed files with 4 additions and 4 deletions

View File

@@ -119,7 +119,7 @@ class QENewWalletWizard(NewWalletWizard, QEAbstractWizard):
self.createSuccess.emit()
except Exception as e:
self._logger.error(f"createStorage errored: {e!r}")
self._logger.exception(f"createStorage errored: {e!r}")
self.createError.emit(str(e))

View File

@@ -393,7 +393,7 @@ class InstallWizard(QDialog, MessageBoxMixin, BaseWizard):
self.run(action)
for k, v in self.data.items():
db.put(k, v)
db.write(storage)
db.write()
return
if db.requires_upgrade():