Sort images
This commit is contained in:
parent
8bb2fc1542
commit
3dbac61e65
|
@ -49,7 +49,7 @@ with FileInput(html_path, inplace=True) as html:
|
||||||
for line in html:
|
for line in html:
|
||||||
if "Images go below" in line: # Insert imgs here
|
if "Images go below" in line: # Insert imgs here
|
||||||
print(line, end='')
|
print(line, end='')
|
||||||
for img in imgs:
|
for img in sorted(imgs):
|
||||||
print(img)
|
print(img)
|
||||||
else:
|
else:
|
||||||
print(line, end='')
|
print(line, end='')
|
||||||
|
|
Loading…
Reference in New Issue