This commit is contained in:
Kload 2013-03-01 23:02:15 +01:00
parent f2c0e0f1af
commit a169fce731

View file

@ -194,7 +194,7 @@ def app_install(app, domain, path='/', label=None, mode='private'):
domain_app_list = [] domain_app_list = []
for conf in conf_list: for conf in conf_list:
if '.app.conf' in conf: if '.app.conf' in conf:
domain_app_list.append(conf[:len(conf)-9] domain_app_list.append(conf[:len(conf)-9])
for installed_app in domain_app_list: for installed_app in domain_app_list:
open(apps_setting_path +'/'+ installed_app +'/app_setting.yml') as f: open(apps_setting_path +'/'+ installed_app +'/app_setting.yml') as f: