Browse Source

Event: location in properties

Bastien Sevajol (Algoo) 8 years ago
parent
commit
31fe71d82d
1 changed files with 2 additions and 0 deletions
  1. 2 0
      tracim/tracim/lib/calendar.py

+ 2 - 0
tracim/tracim/lib/calendar.py View File

@@ -124,6 +124,7 @@ class CalendarManager(object):
124 124
             content.description = event.get('description')
125 125
             content.properties = {
126 126
                 'name': event_name,
127
+                'location': event.get('location'),
127 128
                 'raw': event.to_ical().decode("utf-8"),
128 129
                 'start': event.get('dtend').dt.strftime('%Y-%m-%d %H:%M:%S%z'),
129 130
                 'end': event.get('dtstart').dt.strftime('%Y-%m-%d %H:%M:%S%z'),
@@ -170,6 +171,7 @@ class CalendarManager(object):
170 171
                 content.description = event.get('description')
171 172
                 content.properties = {
172 173
                     'name': event_name,
174
+                    'location': event.get('location'),
173 175
                     'raw': event.to_ical().decode("utf-8"),
174 176
                     'start': event.get('dtend').dt.strftime(
175 177
                         '%Y-%m-%d %H:%M:%S%z'