diff --git a/mxcubecore/HardwareObjects/ISPyBClient.py b/mxcubecore/HardwareObjects/ISPyBClient.py index c05768266e..fd64d04cf4 100644 --- a/mxcubecore/HardwareObjects/ISPyBClient.py +++ b/mxcubecore/HardwareObjects/ISPyBClient.py @@ -199,7 +199,7 @@ def init(self): if self.ldapConnection is None: logging.getLogger("HWR").debug("LDAP Server is not available") - self.loginTranslate = self.get_property("loginTranslate") or True + self.loginTranslate = self.get_property("loginTranslate", True) self.beamline_name = HWR.beamline.session.beamline_name self.ws_root = self.get_property("ws_root")