Commit a7936d05 authored by Imran Hussain's avatar Imran Hussain
Browse files

Forgot a : !

parent e3fa7c01
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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"])