Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
firmware
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
card10
firmware
Merge requests
!329
fix(preload): catch OSError if apps/ is missing
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
fix(preload): catch OSError if apps/ is missing
dx/fix-oserror-on-apps-dir-missing
into
master
Overview
1
Commits
1
Pipelines
1
Changes
1
Merged
dx
requested to merge
dx/fix-oserror-on-apps-dir-missing
into
master
5 years ago
Overview
1
Commits
1
Pipelines
1
Changes
1
Expand
And show the no_apps_message instead of crashing
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
97681291
1 commit,
5 years ago
1 file
+
5
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
preload/menu.py
+
5
−
2
Options
@@ -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
()
Loading