summaryrefslogtreecommitdiff
path: root/app.py
diff options
context:
space:
mode:
authorKaran Jayachandra <karan.jayachandra@nxp.com>2024-10-18 16:58:03 +0200
committerKaran Jayachandra <karan.jayachandra@nxp.com>2024-10-18 16:58:03 +0200
commit1aa425e1d7b5818d5677530512b4e0a6f525580e (patch)
treec7f9f30da2c0b68736b9c5b9326df8cfd8e02543 /app.py
parent663e797209b11d7d234ca90da82fb809ac688845 (diff)
Made the visuals look good for laptop
Diffstat (limited to 'app.py')
-rw-r--r--app.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/app.py b/app.py
index d7d3b65..cb790f3 100644
--- a/app.py
+++ b/app.py
@@ -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"))