Ignore errors in the Velib API

This commit is contained in:
Lucas Verney 2016-01-21 11:58:53 +01:00
parent 3f151d17f5
commit 9849228ef1
1 changed files with 2 additions and 1 deletions

View File

@ -138,7 +138,8 @@ def update_stations():
station["bonus"],
station["bike_stands"]))
except TypeError:
pass
conn.rollback()
return
c.execute("INSERT INTO " +
"stationsstats(station_id, available_bikes, free_stands, status, updated) " +