realign change
This commit is contained in:
parent
e05206eec3
commit
a5e3ffa427
@ -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…
Reference in New Issue
Block a user