From fca684f70957bbe4dc700ad80cbdf70f9a042e2c Mon Sep 17 00:00:00 2001 From: baldnerd Date: Sat, 9 May 2026 12:50:27 -0400 Subject: [PATCH] Simplify the event map --- installer.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/installer.sh b/installer.sh index 3851ac3..e2a5f7c 100755 --- a/installer.sh +++ b/installer.sh @@ -891,7 +891,10 @@ def event_label(event_type): try: with open(LABEL_MAP, 'r') as f: - labels = json.load(f) | labels + oc_labels = json.load(f) + if isinstance(oc_labels, dict): + oc_labels.update(labels) + labels = oc_labels except Exception: pass