part deux
This commit is contained in:
parent
0e47b90a6b
commit
335fd07c2f
|
@ -83,7 +83,7 @@ class App(AppBase):
|
|||
origin_name, dest_name = origin['display_name'], dest['display_name']
|
||||
origin_area, dest_area = PUNCT.sub('', origin['area']), PUNCT.sub('', dest['area'])
|
||||
url = "http://chalobest.in" + detail['route']['url']
|
||||
if detail.headway:
|
||||
if detail['headway']:
|
||||
headway = "Frequency: " + detail['headway'] + " mins"
|
||||
else:
|
||||
headway = "Route currently not running."
|
||||
|
|
Loading…
Reference in New Issue
Block a user