Skip to content

Commit

Permalink
fix syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
jburel committed Mar 4, 2024
1 parent f30d62a commit 65f9d94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/omero/gateway/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1529,14 +1529,14 @@ def __init__(self, username=None, passwd=None, client_obj=None, group=None,
hc = self.c.getProperty("omero.host")
if self.host is None:
self.host = hc
else if hc != self.host
elif hc != self.host:
raise Exception("hosts %s and %s do not match" % (hc, self.host))
self.port = port
if self.c is not None:
pc = self.c.getProperty("omero.port")
if self.port is None:
self.port = pc
else if pc != self.port
elif pc != self.port:
raise Exception("ports %s and %s do not match" % (pc, self.port))
self.secure = secure
self.useragent = useragent
Expand Down

0 comments on commit 65f9d94

Please sign in to comment.