X-Git-Url: https://yuggoth.org/gitweb?a=blobdiff_plain;f=weather.py;h=8df769e31157178cff69cee9a5555ad32be99145;hb=af6955376b8cf40bb20225bf4f16c56d52bfc883;hp=6b42a8475fa4d64ba29777b637f2cb040ce643cd;hpb=7b13d749b2502bc917cef65af4e71e81eaf5c99f;p=weather.git diff --git a/weather.py b/weather.py index 6b42a84..8df769e 100644 --- a/weather.py +++ b/weather.py @@ -336,7 +336,7 @@ def get_alert( if alert: if verbose: return alert else: - if alert.find("\nNATIONAL WEATHER SERVICE") == -1: + if alert.find("\nNational Weather Service") == -1: muted = False else: muted = True @@ -360,7 +360,7 @@ def get_alert( if line.startswith("Expires:") \ and "Expires:" + valid_time > line: return "" - if muted and line.startswith("NATIONAL WEATHER SERVICE"): + if muted and line.startswith("National Weather Service"): muted = False line = "" elif line == "&&":