Skip to content

Commit dded88a

Browse files
committed
fix: unique subject per station to prevent SMS dedup filtering
1 parent 40e711d commit dded88a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/streamchaser/poster.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def send_sms(text: str, reason: str, report) -> None:
112112
msg = MIMEText(body)
113113
msg["From"] = gmail_user
114114
msg["To"] = sms_address
115-
msg["Subject"] = ""
115+
msg["Subject"] = f"streamchaser {report.station_id}"
116116

117117
with smtplib.SMTP_SSL("smtp.gmail.com", 465) as server:
118118
server.login(gmail_user, gmail_password)

0 commit comments

Comments
 (0)