From 335fd07c2f96d93988aa6fb6f879f63f3d1369e3 Mon Sep 17 00:00:00 2001 From: Sanj Date: Fri, 5 Oct 2012 19:57:38 +0530 Subject: [PATCH] part deux --- 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 84b61a5..d8367d4 100644 --- a/smsBEST/mumbai/app.py +++ b/smsBEST/mumbai/app.py @@ -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."