🐛 sort allergen stuff to have stable output
This commit is contained in:
parent
1aea650764
commit
25b65f8dc8
3 changed files with 379 additions and 351 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Reference in a new issue