Commit ef45afcc authored by Maxime Bombar's avatar Maxime Bombar

Ne pas oublier les CST

parent 7bb93231
......@@ -76,7 +76,8 @@ if __name__ == '__main__':
else:
cur.execute("SELECT * FROM comptes WHERE idbde=%s;", (inscription['idbde'],))
user = cur.fetchone()
if user["normalien"]:
# Si on est payé on paye le plein tarif.
if inscription["normalien"] and not inscription["conge"]:
prix_wei = wei_config["prix_wei_normalien"]
else:
prix_wei = wei_config["prix_wei_non_normalien"]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment