diff options
| author | Karan Jayachandra <mail@karanjayachandra.com> | 2025-07-14 12:25:55 +0200 |
|---|---|---|
| committer | Karan Jayachandra <mail@karanjayachandra.com> | 2025-07-14 12:25:55 +0200 |
| commit | 729203409fb73fdbac19b8af9d647883a5ac96b0 (patch) | |
| tree | 5cef1d2b3f7bb61551dd105974e66b11b81fff98 /app/config.py | |
| parent | ec3af3f76ae1785bfb8c1dfbc69788e95fc7954d (diff) | |
Back to working
Diffstat (limited to 'app/config.py')
| -rw-r--r-- | app/config.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/config.py b/app/config.py index fa16e1f..d7509a1 100644 --- a/app/config.py +++ b/app/config.py @@ -4,10 +4,11 @@ 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 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 + DEFAULTS = {"---": 1, "RESERVED": 2} + GUEST_COUNT = 4 + GUESTS = {"Beginner": 1, "Novice": 3, "Intermediate": 5}
\ No newline at end of file |
