From b87954d7f5ab09aa4e9bf8e54872f7e29d055811 Mon Sep 17 00:00:00 2001 From: David Miles Date: Sun, 2 Sep 2018 10:23:30 +0100 Subject: [PATCH] Fix selection of default app --- settings/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/settings/main.py b/settings/main.py index cfec16c..d7b80a4 100644 --- a/settings/main.py +++ b/settings/main.py @@ -28,7 +28,7 @@ def settings_startup_app(state): print(apps) selection = prompt_option([{"title": a.title, "app": a} for a in apps], text="Select App:", none_text="Back", title="Set startup app") if selection: - app.write_launch_file(app.name, "default_app.txt") + app.write_launch_file(selection["app"].name, "default_app.txt") def settings_wifi(state): wifi.choose_wifi()