This commit is contained in:
Aaron Gutierrez
2021-02-14 12:51:29 -08:00
parent 5c4c93b8bf
commit 194ce72f36
3 changed files with 16 additions and 2 deletions

4
pub.py
View File

@@ -129,8 +129,10 @@ def make_bench_view(idx, prev, nxt):
body = bench_view_ftm.format(idx)
preview = "/img/bench/{0:03d}.780.jpg".format(idx)
with open('bench/view/{}.html'.format(idx), 'w') as out:
out.write(template.format(body, idx, prev, nxt))
out.write(template.format(body, idx, preview, prev, nxt))
def upload_bench():
imgs = os.listdir('img/bench')