Fix for image-fill

This commit is contained in:
Emilia Allison 2023-11-22 01:45:51 -05:00
parent 1e8c7c74e5
commit d7bfb4a231
Signed by: emilia
GPG Key ID: 7A3F8997BFE894E0
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ images = list(image_dir.rglob("*.png")) + \
# Generate the img tag for each file
imgs = []
for i in images:
src = str(i)
src = str(i.relative_to(i.parents[1]))
imgs.append(f'<img src="{src}" />')
with FileInput(html_path, inplace=True) as html: