diff --git a/pqact.d/pqact_afos.conf b/pqact.d/pqact_afos.conf index 0c115291..770f2c3c 100644 --- a/pqact.d/pqact_afos.conf +++ b/pqact.d/pqact_afos.conf @@ -60,7 +60,7 @@ WMO /p(SCN|ADM|RER|PNS) PIPE pywwa-spammer WMO ^NOXX PIPE pywwa-spammer -WMO /p(ADANCF|DNMWNO|ADASDM|AFDMPX) +WMO /p(ADANCF|DNMWNO|ADASDM) PIPE pywwa-spammer ### diff --git a/src/pywwa/workflows/spammer.py b/src/pywwa/workflows/spammer.py index 62874cb9..0ae211fe 100644 --- a/src/pywwa/workflows/spammer.py +++ b/src/pywwa/workflows/spammer.py @@ -89,10 +89,6 @@ def real_process(data) -> product.TextProduct: subject = prod.afos if prod.afos[:3] == "ADM": subject = f"ADMIN NOTICE {prod.afos[3:]}" - elif prod.afos == "AFDMPX": - subject = f"AFD {prod.source}" - del msg["To"] - msg["To"] = "wilke127@gmail.com" elif prod.afos[:3] == "PNS" and prod.afos != "PNSWSH": if prod.unixtext.upper().find("DAMAGE SURVEY") == -1: return None