Sort images

This commit is contained in:
Emilia Allison 2023-11-22 00:10:17 -05:00
parent 8bb2fc1542
commit 3dbac61e65
Signed by: emilia
GPG Key ID: 7A3F8997BFE894E0
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ with FileInput(html_path, inplace=True) as html:
for line in html:
if "Images go below" in line: # Insert imgs here
print(line, end='')
for img in imgs:
for img in sorted(imgs):
print(img)
else:
print(line, end='')