From efe76c524e5d7b0bb83740969447de4ccc5be6fb Mon Sep 17 00:00:00 2001 From: Nemo Date: Fri, 15 Mar 2024 09:29:06 +0530 Subject: [PATCH] sort keywords to avoid spurious updates --- src/ics-to-event.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ics-to-event.py b/src/ics-to-event.py index 3434a50c..376ba6f3 100644 --- a/src/ics-to-event.py +++ b/src/ics-to-event.py @@ -31,7 +31,7 @@ def convert_ics_to_json(ics_file_path): "name": event.location }, "url": event.url, - "keywords": ", ".join(event.categories) + "keywords": ", ".join(sorted(event.categories)), } # Check for attachments (if image)