From e87a3846d8568907d11ce14f335baca31d91c24a Mon Sep 17 00:00:00 2001 From: "johannes.kaufmann" Date: Mon, 28 Oct 2019 08:43:09 +0100 Subject: [PATCH] move plugin call --- tljh/user.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tljh/user.py b/tljh/user.py index a68b63c..c0ef336 100644 --- a/tljh/user.py +++ b/tljh/user.py @@ -37,14 +37,14 @@ def ensure_user(username): username ]) - pm.hook.tljh_new_user_create(username=username) - subprocess.check_call([ 'chmod', 'o-rwx', expanduser('~{username}'.format(username=username)) ]) + pm.hook.tljh_new_user_create(username=username) + def remove_user(username): """