Skip to content

Commit

Permalink
fix line too long
Browse files Browse the repository at this point in the history
  • Loading branch information
Rdornier committed Sep 3, 2024
1 parent 50326d6 commit d96e077
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion omero_figure/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,8 @@ def save_web_figure(request, conn=None, **kwargs):
join a.mapValue mv where %s
""" % (" and ".join(where_clause))

ann = [result[0].val for result in qs.projection(q, params, conn.SERVICE_OPTS)]
results = qs.projection(q, params, conn.SERVICE_OPTS)
ann = [result[0].val for result in results]

if ann is not None and len(ann) > 0:
map_id = ann[0]
Expand Down

0 comments on commit d96e077

Please sign in to comment.