Browse Source

python is not javascript. okay?

master
Sanj 12 years ago
parent
commit
0e47b90a6b
  1. 2
      smsBEST/mumbai/app.py

2
smsBEST/mumbai/app.py

@ -84,7 +84,7 @@ class App(AppBase):
origin_area, dest_area = PUNCT.sub('', origin['area']), PUNCT.sub('', dest['area'])
url = "http://chalobest.in" + detail['route']['url']
if detail.headway:
headway = "Frequency: " + detail.headway + " mins"
headway = "Frequency: " + detail['headway'] + " mins"
else:
headway = "Route currently not running."
response = "%s: %s (%s) to %s (%s). %s. %s" % (

Loading…
Cancel
Save