diff --git a/src/html/templates/template.py b/src/html/templates/template.py index ce546fc89..5fc1c29c8 100755 --- a/src/html/templates/template.py +++ b/src/html/templates/template.py @@ -77,7 +77,7 @@ if not os.path.isdir(os.path.join(core.setdir, "web_clone")): os.makedirs(os.path.join(core.setdir, "web_clone/")) if os.path.isfile(os.path.join(core.setdir, "web_clone/index.html")): os.remove(os.path.join(core.setdir, "web_clone/index.html")) -shutil.copyfile("src/html/index.template", os.path.join(core.setdir, "/web_clone/index.html")) +shutil.copyfile("src/html/index.template", os.path.join(core.setdir, "web_clone/index.html")) with open(os.path.join(core.setdir, "site.template"), 'w') as filewrite: filewrite.write("TEMPLATE=SELF\nURL={0}".format(url))