Indent error
This commit is contained in:
parent
e4f3e29035
commit
8ad4c28898
@ -220,10 +220,10 @@ def update():
|
|||||||
if r.status == 200:
|
if r.status == 200:
|
||||||
station_xml = ET.fromstring(r.data)
|
station_xml = ET.fromstring(r.data)
|
||||||
|
|
||||||
for child in station_xml.iter('available'):
|
for child in station_xml.iter('available'):
|
||||||
available[station] = child.text
|
available[station] = child.text
|
||||||
for child in station_xml.iter('free'):
|
for child in station_xml.iter('free'):
|
||||||
free[station] = child.text
|
free[station] = child.text
|
||||||
|
|
||||||
else:
|
else:
|
||||||
available[station] = -1
|
available[station] = -1
|
||||||
|
Loading…
Reference in New Issue
Block a user