Skip to content

Commit

Permalink
flake8 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom-TBT committed Aug 28, 2024
1 parent a653b69 commit b3238ed
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion omero_autotag/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
from omero.rtypes import rstring, unwrap
from omeroweb.webclient import tree
from .utils import create_tag_annotations_links
from omero.constants.metadata import NSINSIGHTTAGSET

logger = logging.getLogger(__name__)

Expand Down Expand Up @@ -100,7 +101,7 @@ def create_tag(request, conn=None, **kwargs):

e["set"] = (
e["ns"]
and tree.unwrap_to_str(e["ns"]) == omero.constants.metadata.NSINSIGHTTAGSET
and tree.unwrap_to_str(e["ns"]) == NSINSIGHTTAGSET
)

return JsonResponse(e)
Expand Down

0 comments on commit b3238ed

Please sign in to comment.