Merge pull request #75 from Davermouse/default-app-fix

Fix selection of default app
sammachin-gprs
Marek Ventur 2018-09-02 14:21:07 +01:00 committed by GitHub
commit 8a8e43ac48
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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()