diff --git a/electrum/wizard.py b/electrum/wizard.py index b369c77e7..cd76941a4 100644 --- a/electrum/wizard.py +++ b/electrum/wizard.py @@ -126,7 +126,7 @@ class AbstractWizard: # check if this view is the final view def is_last_view(self, view: str, wizard_data: dict) -> bool: - assert view + assert view, f'view not defined: {repr(self.sanitize_stack_item(wizard_data))}' assert view in self.navmap nav = self.navmap[view]