summaryrefslogtreecommitdiffstats
path: root/text.py
diff options
context:
space:
mode:
Diffstat (limited to 'text.py')
-rw-r--r--text.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/text.py b/text.py
index 2df426d44..3db39274b 100644
--- a/text.py
+++ b/text.py
@@ -51,10 +51,7 @@ class LanguageWindow:
if "Japanese" in languages and not haveKon:
languages.remove("Japanese")
- if os.environ.has_key('LANG'):
- current = todo.instTimeLanguage.getCurrent()
- else:
- current = None
+ current = todo.instTimeLanguage.getCurrent()
height = min((screen.height - 16, len(languages)))
if todo.reconfigOnly: