From b47f3c6b285f4c26ce6e152de9b521c52a42533f Mon Sep 17 00:00:00 2001
From: Simone Margaritelli <evilsocket@gmail.com>
Date: Sat, 12 Oct 2019 22:01:52 +0200
Subject: [PATCH] fix: fixed restored status after rsa keys generation

---
 pwnagotchi/identity.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pwnagotchi/identity.py b/pwnagotchi/identity.py
index 7ea7652..9be375b 100644
--- a/pwnagotchi/identity.py
+++ b/pwnagotchi/identity.py
@@ -47,7 +47,7 @@ class KeyPair(object):
                 self.fingerprint = hashlib.sha256(pem_ascii).hexdigest()
 
                 # no exception, keys loaded correctly.
-                self._view.on_normal()
+                self._view.on_starting()
                 return
 
             except Exception as e: