Correct installation error

This commit is contained in:
Kload 2013-02-15 18:53:52 +01:00
parent 67cf68343b
commit 6b7213f511
2 changed files with 2 additions and 2 deletions

View file

@ -149,7 +149,7 @@ def app_install(app, domain=None, path=None, label=None, public=False, protected
try: try:
domain_list(filter="virtualdomain="+ domain) domain_list(filter="virtualdomain="+ domain)
except YunoHostError: except YunoHostError:
domain_add(domain=[domain]) domain_add([domain])
# TODO: Install dependencies # TODO: Install dependencies

View file

@ -30,7 +30,7 @@ def tools_ldapinit(domain):
for rdn, attr_dict in ldap_map['childs'].items(): for rdn, attr_dict in ldap_map['childs'].items():
yldap.add(rdn, attr_dict) yldap.add(rdn, attr_dict)
domain_add(domain=[domain]) domain_add([domain])
admin_dict = { admin_dict = {
'cn': 'admin', 'cn': 'admin',