summaryrefslogtreecommitdiffstats
path: root/pykolab
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2014-02-20 05:59:00 -0500
committerThomas Bruederli <bruederli@kolabsys.com>2014-02-20 05:59:00 -0500
commit4d460abbc06e0cc54f0a0b285708102829b618cc (patch)
tree742631bc53538631e2f1300c3b61aec2404810a5 /pykolab
parentcffe8974b83342773fd28b5ce14540e34a88cf64 (diff)
downloadpykolab-4d460abbc06e0cc54f0a0b285708102829b618cc.tar.gz
Make sure the iCal version of an event has a valid dtstamp property
Diffstat (limited to 'pykolab')
-rw-r--r--pykolab/xml/event.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/pykolab/xml/event.py b/pykolab/xml/event.py
index 482b1bc..4f3ca0a 100644
--- a/pykolab/xml/event.py
+++ b/pykolab/xml/event.py
@@ -404,9 +404,8 @@ class Event(object):
return self.get_end()
def get_ical_dtstamp(self):
- return
try:
- retval = self.event.lastModified()
+ retval = self.get_lastmodified()
if retval == None or retval == "":
return datetime.datetime.now()
except: