🐛 sort allergen stuff to have stable output

This commit is contained in:
neingeist 2026-04-08 22:21:01 +02:00
parent 1aea650764
commit 25b65f8dc8
3 changed files with 379 additions and 351 deletions

View file

@ -64,6 +64,7 @@ def main():
with open(os.path.join(OUTDIR_JSON, json_file), "r", encoding="utf-8") as f:
data = json.load(f)
recipes.append(data)
recipes.sort(key=lambda r: r["name"])
for recipe in recipes:
with open("report_allergene_korrektur.csv", "a") as f: