Commit 94074ed8 authored by Maxime Bombar's avatar Maxime Bombar

requete sql multiligne

parent 2f1f1f45
......@@ -27,13 +27,13 @@ if __name__ == '__main__':
cur.execute("SELECT * FROM wei_1a WHERE NOT triggered;")
liste_1a = cur.fetchall()
cur.execute("SELECT prix_wei_normalien,
cur.execute("""SELECT prix_wei_normalien,
prix_wei_non_normalien,
wei_name,
wei_contact,
wei_begin,
wei_end
FROM configurations;")
FROM configurations;""")
wei_config = cur.fetchall()[0]
wei_config["prix_wei_normalien"]/=100
wei_config["prix_wei_non_normalien"]/=100
......
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