We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d20e401 commit 257d3fbCopy full SHA for 257d3fb
park_api/cities/Basel.py
@@ -25,8 +25,8 @@ def parse_html(xml_data):
25
"address": entry['address'],
26
"id": entry['id'],
27
"state": translate_status(entry['status']),
28
- "free": entry['free'],
29
- "total": entry['total'],
+ "free": entry['free'] or 0,
+ "total": entry['total'] or 0,
30
"coords": {
31
"lat": entry['geo_point_2d']['lat'],
32
"lng": entry['geo_point_2d']['lon']
0 commit comments