Skip to content

Commit

Permalink
Merge pull request #2254 from cjh1/time-guard
Browse files Browse the repository at this point in the history
Guard again 'stop' being None
  • Loading branch information
cjh1 authored Jun 21, 2022
2 parents 9263ee2 + 61098e2 commit 3ffc0a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tomviz/python/tomviz/io/_databroker.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def runs(catalog_name, id, since, until, limit):
"startTime": md['start']['time'],
}

if 'stop' in md:
if md.get('stop') is not None:
r['stopTime'] = md['stop']['time']

runs.append(r)
Expand Down

0 comments on commit 3ffc0a4

Please sign in to comment.