Skip to content

Commit

Permalink
fix back btn when import mnemonic
Browse files Browse the repository at this point in the history
  • Loading branch information
stepansnigirev committed Jul 10, 2022
1 parent ab5995f commit f17de34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/specter.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ async def import_mnemonic(self):
host = await self.gui.menu(title="What to use for import?", note="\n",
buttons=[(host, host.button) for host in self.hosts if host.button],
last=(255, None))
if host is None:
if host == 255:
return
stream = await host.get_data()
if not stream:
Expand Down

0 comments on commit f17de34

Please sign in to comment.