1
0
Fork 0
mirror of https://github.com/YunoHost/apps.git synced 2024-09-03 20:06:07 +02:00

readme_generator: sorted screenshot list for consistency (#2440)

This commit is contained in:
Salamandar 2024-06-23 14:24:40 +02:00 committed by GitHub
parent 412b900a7f
commit cd7ae5c5c7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -99,7 +99,7 @@ def generate_READMEs(app_path: Path):
screenshots_dir = app_path / "doc" / "screenshots"
if screenshots_dir.exists():
for entry in screenshots_dir.iterdir():
for entry in sorted(screenshots_dir.iterdir()):
# only pick files (no folder) on the root of 'screenshots'
if not entry.is_file():
continue