don't pick timezones when asking for contacts

This commit is contained in:
deronnax 2014-08-19 12:46:53 +02:00 committed by Guillaume Ayoub
parent 0456d166cc
commit 240125aca7

View File

@ -416,8 +416,9 @@ class Application(object):
# Get collection item
item = collection.get_item(item_name)
if item:
items = collection.timezones
items.append(item)
items = [item]
if collection.resource_type == "calendar":
items.extend(collection.timezones)
answer_text = ical.serialize(
collection.tag, collection.headers, items)
etag = item.etag