1
0

wizard.py: (trivial) fix type hint and an f-string

This commit is contained in:
SomberNight
2023-04-23 00:13:22 +00:00
parent 6b0db411ae
commit ad58916729

View File

@@ -13,7 +13,7 @@ from electrum.mnemonic import is_any_2fa_seed_type
class WizardViewState(NamedTuple):
view: str
view: Optional[str]
wizard_data: Dict[str, Any]
params: Dict[str, Any]
@@ -124,7 +124,7 @@ class AbstractWizard:
self._logger.debug(f'view "{view}" last: {l}')
return l
else:
raise Exception('last handler for view {view} is not callable nor a bool literal')
raise Exception(f'last handler for view {view} is not callable nor a bool literal')
def finished(self, wizard_data):
self._logger.debug('finished.')