This commit is contained in:
Kload 2013-03-02 18:32:31 +01:00
parent 5e8be1da24
commit f7b50c3166

View file

@ -89,7 +89,8 @@ def domain_add(domains, web=False):
except YunoHostError: except YunoHostError:
if web: if web:
win_msg(_("Web config created")) win_msg(_("Web config created"))
return result.append(domain)
break
else: else:
raise YunoHostError(17, _("Domain already created")) raise YunoHostError(17, _("Domain already created"))