diff options
| author | Karan Jayachandra <karan.jayachandra@nxp.com> | 2024-10-18 16:58:03 +0200 |
|---|---|---|
| committer | Karan Jayachandra <karan.jayachandra@nxp.com> | 2024-10-18 16:58:03 +0200 |
| commit | 1aa425e1d7b5818d5677530512b4e0a6f525580e (patch) | |
| tree | c7f9f30da2c0b68736b9c5b9326df8cfd8e02543 /app.py | |
| parent | 663e797209b11d7d234ca90da82fb809ac688845 (diff) | |
Made the visuals look good for laptop
Diffstat (limited to 'app.py')
| -rw-r--r-- | app.py | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -1,4 +1,3 @@ -from os import getenv from dotenv import load_dotenv from controller import RoundGenerator from model import CourtList, PlayerList @@ -8,10 +7,7 @@ from flask import Flask, render_template, request load_dotenv() app = Flask("Match Up! Backend") -app.config.from_object(getenv("APP_SETTINGS")) -rg = RoundGenerator( - courts=CourtList(int(getenv("COURTS"))), players=PlayerList(getenv("DATABASE")) -) +rg = RoundGenerator(courts=CourtList(), players=PlayerList()) re = Environment(loader=FileSystemLoader("templates")) |
