Commit 212a42da authored by JonathanMM's avatar JonathanMM

Mise à jour des adresses des stations uniquement si non indiqué

parent 96a24554
......@@ -4,7 +4,7 @@ from config import getMysqlConnection
mysql = getMysqlConnection()
requete = mysql.cursor()
requete.execute('SELECT code, latitude, longitude FROM stations')
requete.execute('SELECT code, latitude, longitude FROM stations WHERE adresse IS NULL')
stations = requete.fetchall()
for station in stations:
adresse = getAdresse(station[1], station[2])
......
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