* src/select_person.glade: select person interface

* src/Plugins.py: Catch the LANG environment variable not being set when
determining which relationship calculator to use


svn: r1701
This commit is contained in:
Don Allingham 2003-06-11 03:51:09 +00:00
parent ff0a8ed48d
commit 313cd4adc4

View File

@ -507,9 +507,11 @@ def register_relcalc(func, languages):
"""Register a relationshp calculator"""
import sys
global _relcalc_task
if os.environ["LANG"] in languages:
_relcalc_task = func
try:
if os.environ["LANG"] in languages:
_relcalc_task = func
pass
def relationship_function():
global _relcalc_task