From f4c1bfda22af8f37cb6a28eecfa90e5c70d89593 Mon Sep 17 00:00:00 2001 From: Jan Pochyla Date: Tue, 27 Feb 2018 21:50:49 +0100 Subject: [PATCH] boot: fix unsuccessful PIN attempt label --- src/boot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/boot.py b/src/boot.py index fd568150..3a62f94e 100644 --- a/src/boot.py +++ b/src/boot.py @@ -4,13 +4,13 @@ from apps.common.request_pin import request_pin async def bootscreen(): - label = None while True: try: if not config.has_pin(): config.unlock(pin_to_int(''), show_pin_timeout) return await lockscreen() + label = None while True: pin = await request_pin(label) if config.unlock(pin_to_int(pin), show_pin_timeout):