mirror of
https://github.com/simple-login/app.git
synced 2024-09-28 20:51:29 +02:00
fix "Received" header is not str
This commit is contained in:
parent
3e1f098c79
commit
93991816c9
@ -1202,7 +1202,7 @@ def sl_sendmail(
|
||||
|
||||
def get_queue_id(msg: Message) -> Optional[str]:
|
||||
"""Get the Postfix queue-id from a message"""
|
||||
received_header = msg["Received"]
|
||||
received_header = str(msg["Received"])
|
||||
if not received_header:
|
||||
return
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user