Skip to content

Commit

Permalink
Handle None in Blitz isActive. See #7889
Browse files Browse the repository at this point in the history
  • Loading branch information
Will Moore committed Jun 8, 2012
1 parent f36c221 commit 988559f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion components/bioformats
Submodule bioformats updated from 923904 to 3c8ce7
2 changes: 2 additions & 0 deletions components/tools/OmeroPy/src/omero/gateway/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4258,6 +4258,8 @@ def isActive(self):
"""

for ob in self._obj.copyGroupExperimenterMap():
if ob is None:
continue
if ob.parent.name.val == "user":
return True
return False
Expand Down

0 comments on commit 988559f

Please sign in to comment.