Update terminis.py

This commit is contained in:
adrienmalin 2019-02-13 20:13:40 +01:00
parent ac3e8ee768
commit 0d5b84ea16

View File

@ -29,6 +29,9 @@ else:
DATA_PATH = os.path.join(DATA_PATH, DIR_NAME) DATA_PATH = os.path.join(DATA_PATH, DIR_NAME)
CONFIG_PATH = os.path.join(CONFIG_PATH, DIR_NAME) CONFIG_PATH = os.path.join(CONFIG_PATH, DIR_NAME)
locale.setlocale(locale.LC_ALL, '')
class Rotation: class Rotation:
CLOCKWISE = 1 CLOCKWISE = 1
@ -429,7 +432,6 @@ class Stats(Window):
self.lines_cleared = 0 self.lines_cleared = 0
self.clock_timer = None self.clock_timer = None
self.strings = [] self.strings = []
locale.setlocale(locale.LC_ALL, '')
Window.__init__(self, width, height, begin_x, begin_y) Window.__init__(self, width, height, begin_x, begin_y)
self.new_level() self.new_level()