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.startswith("application/")
|
||||||
or content_type == "text/calendar"
|
or content_type == "text/calendar"
|
||||||
or content_type == "text/directory"
|
or content_type == "text/directory"
|
||||||
|
or content_type == "text/csv"
|
||||||
):
|
):
|
||||||
LOG.d("not applicable for %s", content_type)
|
LOG.d("not applicable for %s", content_type)
|
||||||
return msg
|
return msg
|
||||||
|
|
Loading…
Reference in New Issue