fix: bernReligionMap entries not append to feed

This commit is contained in:
2026-06-17 22:03:19 +02:00
parent 611b9ce3d0
commit dc6bdc6cbc
+1
View File
@@ -252,6 +252,7 @@ def generateBernReligionMap(ASSETS, CACHE):
trimestrialEntry["url"] = f"https://opendata.swiss/{lang}/dataset/religionslandkarte"
trimestrialEntry["title"] = f"{translatedPlacesOfWorshipInBern[lang]}-{start.isoformat()}"
trimestrialEntry["text"] = f"<img src=\"https://raw.githubusercontent.com/tomasriveral/ReSSPublica/refs/heads/main/.cache/bernReligionMap-{lang}-{start.isoformat()}-{end.isoformat()}.png\" alt=\"{translatedPlacesOfWorshipInBern[lang]} {start.isoformat()}\">"
feeds[lang].append(copy.deepcopy(weeklyEntry))
generateFeed(
translatedPlacesOfWorshipInBern["fr"],
f"Flux RSS des {translatedPlacesOfWorshipInBern["fr"]}",