mirror of
https://github.com/Kozea/Radicale.git
synced 2025-08-01 18:18:31 +00:00
realign change
This commit is contained in:
parent
e05206eec3
commit
a5e3ffa427
1 changed files with 1 additions and 8 deletions
|
@ -742,14 +742,7 @@ class Collection(BaseCollection):
|
|||
break
|
||||
return collection.serialize()
|
||||
elif self.get_meta("tag") == "VADDRESSBOOK":
|
||||
items_ok = []
|
||||
for item in items:
|
||||
try:
|
||||
item.serialize()
|
||||
items_ok.append(item)
|
||||
except:
|
||||
self.logger.exception("VCARD broken (skip): %s", item)
|
||||
return "".join([item.serialize() for item in items_ok])
|
||||
return "".join([item.serialize() for item in items])
|
||||
return ""
|
||||
|
||||
_lock = threading.Lock()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue