mirror of
https://github.com/simple-login/app.git
synced 2024-09-20 15:05:59 +08:00
ignore text/csv in replace()
This commit is contained in:
parent
a34af98de8
commit
3179d70df1
|
@ -826,6 +826,7 @@ def replace(msg: Message, old, new) -> Message:
|
|||
or content_type.startswith("application/")
|
||||
or content_type == "text/calendar"
|
||||
or content_type == "text/directory"
|
||||
or content_type == "text/csv"
|
||||
):
|
||||
LOG.d("not applicable for %s", content_type)
|
||||
return msg
|
||||
|
|
Loading…
Reference in a new issue