mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
fail
This commit is contained in:
parent
a169fce731
commit
9a8cc12dc2
1 changed files with 2 additions and 2 deletions
|
@ -197,7 +197,7 @@ def app_install(app, domain, path='/', label=None, mode='private'):
|
|||
domain_app_list.append(conf[:len(conf)-9])
|
||||
|
||||
for installed_app in domain_app_list:
|
||||
open(apps_setting_path +'/'+ installed_app +'/app_setting.yml') as f:
|
||||
with open(apps_setting_path +'/'+ installed_app +'/app_settings.yml') as f:
|
||||
app_settings = yaml.load(f)
|
||||
|
||||
if app_settings['path'] == path:
|
||||
|
@ -346,7 +346,7 @@ def app_install(app, domain, path='/', label=None, mode='private'):
|
|||
if label: yaml_dict['label'] = label
|
||||
else: yaml_dict['label'] = manifest['name']
|
||||
|
||||
with open(app_setting_path +'/app_setting.yml', 'w') as f:
|
||||
with open(app_setting_path +'/app_settings.yml', 'w') as f:
|
||||
yaml.safe_dump(yaml_dict, f, default_flow_style=False)
|
||||
win_msg(_("App setting file created"))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue