From 0e47b90a6b4addd1f4600e658073d849e868582b Mon Sep 17 00:00:00 2001 From: Sanj Date: Fri, 5 Oct 2012 19:55:44 +0530 Subject: [PATCH] python is not javascript. okay? --- smsBEST/mumbai/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smsBEST/mumbai/app.py b/smsBEST/mumbai/app.py index 9f7f86e..84b61a5 100644 --- a/smsBEST/mumbai/app.py +++ b/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" % (