From 59d87db3f12674f7730eb827de3afa5362678bb9 Mon Sep 17 00:00:00 2001 From: Kev Date: Fri, 18 Oct 2024 12:26:28 -0400 Subject: [PATCH] Strip whitespace in alert regions --- responseECS_LMDB2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/responseECS_LMDB2.py b/responseECS_LMDB2.py index 92e79cb..731c503 100644 --- a/responseECS_LMDB2.py +++ b/responseECS_LMDB2.py @@ -2549,7 +2549,7 @@ def PW_Forecast( alertDict = { "title": alertDetails[0], - "regions": alertDetails[2].split(";"), + "regions": alertDetails[2].split(";").strip(), "severity": alertDetails[5], "time": int( (