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