From d2967baf8362c1d8f2811af903814c461b54eb5e Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Wed, 30 Apr 2003 03:17:54 +0000 Subject: [PATCH] Few typos svn: r1480 --- gramps2/src/Plugins.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gramps2/src/Plugins.py b/gramps2/src/Plugins.py index bc504bee6..7f837dccb 100644 --- a/gramps2/src/Plugins.py +++ b/gramps2/src/Plugins.py @@ -500,13 +500,13 @@ def register_draw_doc(name,classref,paper,style, ext): def register_relcalc(func, languages): """Register a relationshp calculator""" import sys - global _relcal_task + global _relcalc_task - if sys.environ.get('LANG') in languages: + if os.environ["LANG"] in languages: _relcalc_task = func def relationship_function(): - global _relcal_task + global _relcalc_task return _relcalc_task #-------------------------------------------------------------------------