evol, changement default user

This commit is contained in:
2025-12-02 21:33:42 +01:00
parent 7785c549b4
commit 6909d01376

4
app.py
View File

@@ -55,11 +55,11 @@ def init_db():
( (
"Calendrier de l'Avent 2025", "Calendrier de l'Avent 2025",
"Le calendrier de l'Avent officiel avec tirage aléatoire et gestion des utilisateurs.", "Le calendrier de l'Avent officiel avec tirage aléatoire et gestion des utilisateurs.",
"https://cdn-icons-png.flaticon.com/512/616/616408.png", "https://cdn-icons-png.flaticon.com/512/3778/3778427.png",
24 24
) )
).lastrowid ).lastrowid
people_list = ["Valentin", "Nicolas", "Victor", "Julie", "Louis", "Alexandre", "David", "Raphaël"] people_list = ["Rudolph", "Dasher", "Dancer", "Prancer", "Comet", "Cupid", "Vixen", "Donner"]
for name in people_list: for name in people_list:
db.execute( db.execute(
"INSERT INTO people (project_id, name, draws, max_draws) VALUES (?, ?, 0, 0)", "INSERT INTO people (project_id, name, draws, max_draws) VALUES (?, ?, 0, 0)",