aboutsummaryrefslogtreecommitdiff
path: root/app/config.py
diff options
context:
space:
mode:
authorKaran Jayachandra <mail@karanjayachandra.com>2025-07-14 09:23:32 +0200
committerKaran Jayachandra <mail@karanjayachandra.com>2025-07-14 09:23:32 +0200
commitec3af3f76ae1785bfb8c1dfbc69788e95fc7954d (patch)
treed21468b10051184a5cb918d618e6b720539a3312 /app/config.py
parentd5d64f2b1047f864811d23f19f109a6513c22a2a (diff)
Working app, guests implementation pending
Diffstat (limited to 'app/config.py')
-rw-r--r--app/config.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/config.py b/app/config.py
index a6a60be..fa16e1f 100644
--- a/app/config.py
+++ b/app/config.py
@@ -5,9 +5,9 @@ from os.path import abspath, dirname, join
class Config:
SECRET_KEY = environ.get("SECRET_KEY") or None
DATABASE_CSV = environ.get("DATABASE_CSV") or None
- COURT_COUNT = environ.get("COURT_COUNT") or None
SQLALCHEMY_DATABASE_URI = "sqlite:///" + join(abspath(dirname(__file__)), "app.db")
+ COURT_COUNT = 12
PLAYERS_PER_COURT = 4
GUEST_LEVELS = [1, 3, 5]
MIN_PLAYER_LEVEL = 1
- MAX_PLAYER_LEVEL = 10 \ No newline at end of file
+ MAX_PLAYER_LEVEL = 10