From 51edaa3edeea5f50a516bab298c705a7450f87e0 Mon Sep 17 00:00:00 2001 From: gauthiier Date: Wed, 28 Nov 2018 11:03:47 +0100 Subject: [PATCH] vhost --- vhost-apache2/vhost.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vhost-apache2/vhost.py b/vhost-apache2/vhost.py index 278d655..fa94b46 100755 --- a/vhost-apache2/vhost.py +++ b/vhost-apache2/vhost.py @@ -92,7 +92,7 @@ def vhost_add(domain): bla = os.path.join(www, 'itworks.txt') with open(bla, 'w+') as bla_fp: - bla.write("it does.") + bla_fp.write("it does.") # check is ssl cert exists cert = os.path.join('/etc/letsencrypt/live', domain)