[webapps/foss-public-alert-server] foss_public_alert_server/alertHandler: missed another reference to the old LUAlert id tag
apple cuckoo <[email protected]>
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git commit 7daf53916aa0823dcc1bbb4fcb50101b2092ee5f by apple cuckoo.
Committed on 02/08/2026 at 21:27.
Pushed by vkrause into branch 'master'.
missed another reference to the old LUAlert id tag
M +1 -1 foss_public_alert_server/alertHandler/LUAlert_parser.py
https://invent.kde.org/webapps/foss-public-alert-server/-/commit/7daf53916aa0823dcc1bbb4fcb50101b2092ee5f
diff --git a/foss_public_alert_server/alertHandler/LUAlert_parser.py b/foss_public_alert_server/alertHandler/LUAlert_parser.py
index b8ff2afe2..539ca7873 100644
--- a/foss_public_alert_server/alertHandler/LUAlert_parser.py
+++ b/foss_public_alert_server/alertHandler/LUAlert_parser.py
@@ -28,7 +28,7 @@ class LUAlertParser(AbstractCAPParser):
except Exception:
pass
- filenames.append(f"dump-alert.{alerts['identifier'].split('.')[1]}.xml")
+ filenames.append(f"dump-alert.{alerts['_id'].split('.')[1]}.xml")
metadata: dict = requests.get("https://data.public.lu/api/1/datasets/alertes-du-systeme-lu-alert/").json()
for resource in metadata["resources"]: