From d27f16983a9784989f5295f8032eecd97a7831be Mon Sep 17 00:00:00 2001 From: gauthiier Date: Thu, 6 Dec 2018 10:51:12 +0100 Subject: [PATCH] copy --- 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 39bb266..068f02f 100755 --- a/vhost-apache2/vhost.py +++ b/vhost-apache2/vhost.py @@ -92,7 +92,7 @@ def vhost_add(domain): vhost_file_fp.write(vhost) # debug: this file might not be here........... - shutil.copyfile('c.txt', www) + shutil.copyfile('c.txt', os.path.join(www, 'c.txt')) # bla = os.path.join(www, 'itworks.txt') # with open(bla, 'w+') as bla_fp: