Skip to content
Snippets Groups Projects
Commit 60e13f23 authored by Branson Craig Stephens's avatar Branson Craig Stephens
Browse files

Fixed serialization bug for case where search=None.

parent c5547f13
No related branches found
No related tags found
No related merge requests found
......@@ -323,7 +323,8 @@ def eventToDict(event, columns=None, request=None):
rv['group'] = event.group.name
rv['graceid'] = graceid
rv['pipeline'] = event.pipeline.name
rv['search'] = event.search.name
if event.search:
rv['search'] = event.search.name
# rv['analysisType'] = event.get_analysisType_display()
rv['gpstime'] = event.gpstime
rv['instruments'] = event.instruments
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment