From a7936d0537058d856dc303790f1cdec99a31fde6 Mon Sep 17 00:00:00 2001 From: Imran Hussain <imranh@sucs.org> Date: Sun, 10 Mar 2019 12:56:44 +0000 Subject: [PATCH] Forgot a : ! --- sucsam.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sucsam.py b/sucsam.py index 23fc3f2..a904508 100644 --- a/sucsam.py +++ b/sucsam.py @@ -265,7 +265,7 @@ def deleteUser(peopleList): subprocess.call(['sudo', 'mv', "-f", mboxdir+username, persondir+"/mbox"]) # if they have a apcahe vhost kill it - if os.path.exists("/etc/apache2/sites-enabled/" + username + ".conf") + if os.path.exists("/etc/apache2/sites-enabled/" + username + ".conf"): subprocess.call(['sudo', 'a2dissite', username + ".conf"]) subprocess.call(['sudo', 'systemctl', "reload", "apache2.service"]) -- GitLab