Don't fail autostart if the property doesn't exist
This commit is contained in:
parent
e2d4a15251
commit
d29cb7739e
@ -107,7 +107,7 @@ def autostart(app_name, value):
|
||||
|
||||
def start_autostarted():
|
||||
# Start all applications (resp. their containers) which are set to be autoostarted on boot
|
||||
apps = [App(a) for a,d in repo_local.get_apps().items() if d['autostart']]
|
||||
apps = [App(a) for a,d in repo_local.get_apps().items() if d.get('autostart')]
|
||||
for app in apps:
|
||||
app.start()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user