From fe50dfb924955cee60a660f5f857baab7315db72 Mon Sep 17 00:00:00 2001 From: Dan Scott Date: Mon, 28 Sep 2015 15:41:54 -0400 Subject: [PATCH] Fix an "always OSUL" thinko A conditional that always returns true but looks conditional is a little nasty! Signed-off-by: Dan Scott --- tools/patron-load/ldap_osrf_sync | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.11.0