| |
@@ -41,7 +41,7 @@
|
| |
# their local with moment.js.
|
| |
meeting['start_time'] = meeting['meeting_time_start'][:-3] + " UTC"
|
| |
meeting['stop_time'] = meeting['meeting_time_stop'][:-3] + " UTC"
|
| |
- meeting['location'] = meeting['meeting_location']
|
| |
+ meeting['location'] = meeting['meeting_location'] or ''
|
| |
if '@' in meeting['location']:
|
| |
meeting['location'] = '#' + meeting['location'].split('@')[0]
|
| |
if stop_dt - start_dt >= datetime.timedelta(hours=24) :
|
| |
@@ -71,8 +71,9 @@
|
| |
|
| |
tmp = collections.defaultdict(list)
|
| |
for meeting in response['meetings']:
|
| |
- meeting['meeting_information_html'] = utils.markup(
|
| |
- meeting['meeting_information'])
|
| |
+ if meeting.get('meeting_information_html'):
|
| |
+ meeting['meeting_information_html'] = utils.markup(
|
| |
+ meeting['meeting_information'])
|
| |
tmp[meeting['meeting_name']].append(meeting)
|
| |
|
| |
meetings = {}
|
| |
Purpose
Right now there is some data that gets pulled down that has
None
formeeting_location
and/ormeeting_information
. This causes breakage and the meetings widget will not load.Changes
meetings.py
that avoid iterating or calling a function on Nonemeetings.html
that is a result of the above