Skip to content
Snippets Groups Projects
Commit 405b9430 authored by coffee's avatar coffee
Browse files

Fix home creation

parent 3775735d
No related merge requests found
...@@ -276,7 +276,7 @@ def make_home(formdata, member): ...@@ -276,7 +276,7 @@ def make_home(formdata, member):
user = member.username user = member.username
mail = formdata['email_address'] if formdata['forward'] else "" mail = formdata['email_address'] if formdata['forward'] else ""
result = subprocess.call(make_home_cmd + [user, mail]) result = subprocess.run(make_home_cmd + [user, mail])
if result == 0: if result == 0:
return True return True
else: else:
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment