Skip to content

Commit

Permalink
return correct flag using isSecure
Browse files Browse the repository at this point in the history
  • Loading branch information
jburel committed Mar 6, 2024
1 parent 489c78b commit dd97de9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/omero/gateway/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2049,7 +2049,7 @@ def isSecure(self):
Returns 'True' if the underlying omero.clients.BaseClient is connected
using SSL
"""
return hasattr(self.c, 'isSecure') and self.c.isSecure() or False
return hasattr(self.c, 'isSecure') and self.c.isSecure() or self.secure

def _getSessionId(self):
return self.c.getSessionId()
Expand Down

0 comments on commit dd97de9

Please sign in to comment.