1
0

qt wizard: follow-up prev; simplify

This commit is contained in:
SomberNight
2019-09-14 16:25:35 +02:00
parent f44f7d60ab
commit 5e04f084b7

View File

@@ -193,10 +193,7 @@ class InstallWizard(QDialog, MessageBoxMixin, BaseWizard):
vbox.addLayout(hbox2)
self.set_layout(vbox, title=_('Electrum wallet'))
try:
temp_storage = WalletStorage(path, manual_upgrades=True)
except (StorageReadWriteError, WalletFileException):
temp_storage = None # type: Optional[WalletStorage]
temp_storage = None # type: Optional[WalletStorage]
wallet_folder = os.path.dirname(path)
def on_choose():