diff --git a/sucsam.py b/sucsam.py index 23fc3f26eb5541caf7ecb318827631891b8be410..a90450876835a1cb89ea1ea46248f19e779309d2 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"])