From f81643433fd10edbd1dda1988edd114b8f9aadec Mon Sep 17 00:00:00 2001 From: Administrator Date: Sat, 7 Oct 2023 13:51:06 +0000 Subject: [PATCH] mkdir --- build.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build.py b/build.py index 8fff7db..383bff5 100644 --- a/build.py +++ b/build.py @@ -1,5 +1,6 @@ import csv import logging +import os def wrap_url(u): if u.startswith("http"): @@ -20,6 +21,7 @@ if __name__ == '__main__': logging.info('write file') with open('template/template.html') as inf: + os.mkdir('public') with open('public/index.html', 'w') as outf: outf.write(inf.read().replace('',subst))