diff options
Diffstat (limited to 'TurtleArt/tawindow.py')
-rw-r--r-- | TurtleArt/tawindow.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/TurtleArt/tawindow.py b/TurtleArt/tawindow.py index b8c6cac..9928334 100644 --- a/TurtleArt/tawindow.py +++ b/TurtleArt/tawindow.py @@ -126,13 +126,10 @@ class TurtleArtWindow(): self.mouse_x = 0 self.mouse_y = 0 - lang = os.environ['LANG'] - if lang != '' and lang is not None: - locale.setlocale(locale.LC_NUMERIC, lang) + locale.setlocale(locale.LC_NUMERIC, '') self.decimal_point = locale.localeconv()['decimal_point'] if self.decimal_point == '' or self.decimal_point is None: self.decimal_point = '.' - print self.decimal_point, os.environ['LANG'] self.orientation = HORIZONTAL_PALETTE if olpc_xo_1(): |