mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-07-01 17:12:13 -04:00
Ignore non-string mail CLI recipients (#1824)
This commit is contained in:
@@ -108,6 +108,8 @@ def _q(name: str) -> str:
|
||||
|
||||
|
||||
def _split_recipients(value: str) -> list[str]:
|
||||
if not isinstance(value, str):
|
||||
return []
|
||||
return [r.strip() for r in (value or "").split(",") if r.strip()]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user