Ignore errors in the Velib API

This commit is contained in:
Lucas Verney 2016-01-21 11:55:12 +01:00
parent ed329190be
commit 3f151d17f5

View File

@ -137,6 +137,8 @@ def update_stations():
station["banking"],
station["bonus"],
station["bike_stands"]))
except TypeError:
pass
c.execute("INSERT INTO " +
"stationsstats(station_id, available_bikes, free_stands, status, updated) " +