mirror of
https://github.com/Kozea/Radicale.git
synced 2025-08-07 18:30:54 +00:00
Remove brackets inserted in UIDs by Outlook
This commit is contained in:
parent
f2d491ea61
commit
5b680d1400
1 changed files with 2 additions and 0 deletions
|
@ -99,6 +99,8 @@ class Item(object):
|
||||||
# Do not break, a ``X-RADICALE-NAME`` can appear next
|
# Do not break, a ``X-RADICALE-NAME`` can appear next
|
||||||
|
|
||||||
if self._name:
|
if self._name:
|
||||||
|
# Remove brackets that may have been put by Outlook
|
||||||
|
self._name = self._name.strip("{}")
|
||||||
if "\nX-RADICALE-NAME:" in text:
|
if "\nX-RADICALE-NAME:" in text:
|
||||||
for line in unfold(self.text):
|
for line in unfold(self.text):
|
||||||
if line.startswith("X-RADICALE-NAME:"):
|
if line.startswith("X-RADICALE-NAME:"):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue