From e53c45ed2fa04a08e1fc5e2d298b0fa4379a83f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jannes=20H=C3=B6ke?= Date: Wed, 25 May 2016 05:54:12 +0200 Subject: [PATCH] lang empty by default --- user_setting.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user_setting.py b/user_setting.py index 8a3ca4c..1141d61 100644 --- a/user_setting.py +++ b/user_setting.py @@ -24,7 +24,7 @@ from database import db, Optional, Required, PrimaryKey, db_session class UserSetting(db.Entity): id = PrimaryKey(int, auto=False, size=64) # Telegram User ID - lang = Optional(str, default='en_US') # The language setting for this user + lang = Optional(str, default='') # The language setting for this user stats = Optional(bool, default=False) # Opt-in to keep game statistics first_places = Optional(int, default=0) # Nr. of games won in first place games_played = Optional(int, default=0) # Nr. of games completed