Sorted graphs.
All checks were successful
dR export statistics build / Build (push) Successful in 26m16s

This commit is contained in:
retoor 2024-12-11 16:51:57 +01:00
parent 77f4de6606
commit b3fecce940

View File

@ -10,6 +10,7 @@ per_image_height = 320
cols = 2 cols = 2
images = list(Path("./export/").glob("*.png")) images = list(Path("./export/").glob("*.png"))
images.sort()
image_count = len(images) image_count = len(images)
total_image_height = image_count / cols * per_image_height total_image_height = image_count / cols * per_image_height
if image_count / cols * per_image_height > total_image_height: if image_count / cols * per_image_height > total_image_height: