From: Dan Scott Date: Mon, 28 Sep 2015 19:41:54 +0000 (-0400) Subject: Fix an "always OSUL" thinko X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=fe50dfb924955cee60a660f5f857baab7315db72;p=contrib%2FConifer.git Fix an "always OSUL" thinko A conditional that always returns true but looks conditional is a little nasty! Signed-off-by: Dan Scott --- diff --git a/tools/patron-load/ldap_osrf_sync b/tools/patron-load/ldap_osrf_sync index 3d9245c16a..3796c2834d 100755 --- a/tools/patron-load/ldap_osrf_sync +++ b/tools/patron-load/ldap_osrf_sync @@ -204,7 +204,7 @@ class User: Map LDAP record to Evergreen home library """ - if 'laurentian.ca' or 'laurentienne.ca' in self.email: + if 'laurentian.ca' in self.email or 'laurentienne.ca' in self.email: return 103 elif 'huntingtonu.ca' in self.email: return 104