Skip to content
Snippets Groups Projects
Commit 428281b3 authored by rahix's avatar rahix
Browse files

Merge 'Catch OSError if apps/ is missing'

See merge request !329
parents b4641dde 97681291
No related branches found
No related tags found
No related merge requests found
......@@ -87,9 +87,12 @@ def no_apps_message():
if __name__ == "__main__":
apps = list(enumerate_apps())
try:
apps = list(enumerate_apps())
except OSError:
apps = []
if apps == []:
if not apps:
no_apps_message()
MainMenu(apps).run()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment