[conduit/tracker] Need to property resolve the iCal<-->VEVENT thing..



commit f498fdad687dbc8c0c652dcbf831bfcdbda1556c
Author: John Carr <john carr unrouted co uk>
Date:   Tue Jun 16 23:30:48 2009 +0100

    Need to property resolve the iCal<-->VEVENT thing..

 conduit/modules/TrackerModule/TrackerModule.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/conduit/modules/TrackerModule/TrackerModule.py b/conduit/modules/TrackerModule/TrackerModule.py
index 3ab048b..63bd6e4 100644
--- a/conduit/modules/TrackerModule/TrackerModule.py
+++ b/conduit/modules/TrackerModule/TrackerModule.py
@@ -256,6 +256,8 @@ class TrackerCalendar(DataProvider.TwoWay):
 
     def _ical_to_tracker(self, data):
         ical = data.iCal
+        if ical.name == "VCALENDAR":
+            ical = ical.vevent
 
         c = ncal.Event.create(commit=False)
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]