1
0

wizard: (trivial) add some type hints

This commit is contained in:
SomberNight
2020-04-01 18:49:45 +02:00
parent e6d43b60fa
commit 18c98483ac
2 changed files with 3 additions and 4 deletions

View File

@@ -144,7 +144,7 @@ class BaseWizard(Logger):
self.choice_dialog(title=title, message=message, choices=choices, run_next=self.on_wallet_type)
def upgrade_db(self, storage, db):
exc = None
exc = None # type: Optional[Exception]
def on_finished():
if exc is None:
self.terminate(storage=storage, db=db)