diff --git a/src/Relationship.py b/src/Relationship.py index 61d3620f4..16602bc24 100644 --- a/src/Relationship.py +++ b/src/Relationship.py @@ -1801,7 +1801,8 @@ def get_relationship_calculator(reinit=False): # See if lang begins with en_, English_ or english_ # If so return standard relationship calculator. enlang = lang.split('_')[0].lower() - if ('en' in enlang) or ('english' in enlang): + print enlang + if ('en' == enlang) or ('english' == enlang): return __RELCALC_CLASS() # set correct non English relationship calculator based on LANG # or on locale.getlocale() or if that fails locale.getdeafultlocale()