diff build_website.py @ 50:78f3f79c911b

mathieui: Add the CSS files.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Sat, 23 May 2020 20:49:53 +0200
parents d3b943ac148f
children 010b905a74d4
line wrap: on
line diff
old mode 100644
new mode 100755
--- a/build_website.py
+++ b/build_website.py
@@ -80,7 +80,7 @@ def generate_pages(language):
             out.write(rendered)
     for static_resource in static:
         if path.isdir(static_resource):
-            copytree(static_resource, target_dir, dirs_exist_ok=True)
+            copytree(static_resource, path.join(target_dir, static_resource), dirs_exist_ok=True)
         else:
             copy(static_resource, target_dir)