From 24582f08671d89028591297360603d9ac507c382 Mon Sep 17 00:00:00 2001 From: Thomas Dedek Date: Thu, 9 Apr 2020 11:47:41 +0200 Subject: [PATCH] clean up Signed-off-by: Thomas Dedek --- build.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/build.py b/build.py index 5ba09c6..e5672a5 100755 --- a/build.py +++ b/build.py @@ -1,8 +1,7 @@ import codecs import os -import shutil +from distutils.dir_util import copy_tree import sys -from distutils import dir_util from string import Template from ruamel.yaml import YAML @@ -40,7 +39,6 @@ os.makedirs(output_folder, exist_ok=True) outfile_index = os.path.join(output_folder, 'index.html') -from distutils.dir_util import copy_tree copy_tree(static_folder, output_folder) html = codecs.open(outfile_index, 'w', encoding='utf-8').write(outcome)