cleanup landing page

This commit is contained in:
pandora 2019-10-23 15:52:02 +00:00
commit f485f76e5b
5 changed files with 127 additions and 182 deletions

View file

@ -28,6 +28,9 @@ for root, folders, files in os.walk(join(base, 'static')):
rel_src = os.path.relpath(src, dirname(target))
if os.path.exists(target):
os.unlink(target)
target_folder = os.path.dirname(target)
if not os.path.exists(target_folder):
os.makedirs(target_folder)
os.symlink(rel_src, target)
if overwrite: