From f17de349c69c1c3d406aedfd3f2de5f8f9324971 Mon Sep 17 00:00:00 2001 From: Stepan Snigirev Date: Sun, 10 Jul 2022 21:59:51 +0200 Subject: [PATCH] fix back btn when import mnemonic --- src/specter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/specter.py b/src/specter.py index 58dc10a..4cfb40d 100644 --- a/src/specter.py +++ b/src/specter.py @@ -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: