From 11fb39da4a47ef6b031510fa41ec39faf45af4d7 Mon Sep 17 00:00:00 2001 From: Sanj Date: Thu, 6 Sep 2012 19:19:08 +0530 Subject: [PATCH] extend not append --- 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 824f0b1..6d1a9a3 100644 --- a/smsBEST/mumbai/app.py +++ b/smsBEST/mumbai/app.py @@ -27,7 +27,7 @@ def get_routes_for_matches(stops): same_stops.append(s) routes = [] for stop in same_stops: - routes.append(stop['properties']['routes'].split(", ")) + routes.extend(stop['properties']['routes'].split(", ")) return routes class App(AppBase):