From 31d401e03b7773e0c806140622436662662dd500 Mon Sep 17 00:00:00 2001 From: Simone Margaritelli Date: Thu, 31 Oct 2019 15:39:59 +0100 Subject: [PATCH] fix: increased delay before shutting down to allow slower displays to update (closes #446) --- pwnagotchi/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pwnagotchi/__init__.py b/pwnagotchi/__init__.py index 5474c07..c0cac85 100644 --- a/pwnagotchi/__init__.py +++ b/pwnagotchi/__init__.py @@ -103,7 +103,7 @@ def shutdown(): if view.ROOT: view.ROOT.on_shutdown() # give it some time to refresh the ui - time.sleep(5) + time.sleep(10) os.system("sync") os.system("halt")