realign change

This commit is contained in:
Peter Bieringer 2016-09-18 19:30:51 +02:00
parent e05206eec3
commit a5e3ffa427

View File

@ -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()