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

View File

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