From 48ab6eba6a69e861c0f91d550c6eb3ea464b1b35 Mon Sep 17 00:00:00 2001 From: Sanj Date: Tue, 18 Sep 2012 17:06:27 +0530 Subject: [PATCH] fixed silly lowercase issue --- smsBEST/mumbai/app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/smsBEST/mumbai/app.py b/smsBEST/mumbai/app.py index 6745084..52bf910 100644 --- a/smsBEST/mumbai/app.py +++ b/smsBEST/mumbai/app.py @@ -80,8 +80,8 @@ class App(AppBase): ",".join(routes), origin_name, origin_area, dest_name, dest_area)) elif msg.text.find(" to ") != -1: - from_txt = msg.text.split("to")[0].strip() - to_txt = msg.text.split("to")[1].strip() + from_txt = msg.text.lower().split("to")[0].strip() + to_txt = msg.text.lower().split("to")[1].strip() from_matches = get_stops_for_string(from_txt) to_matches = get_stops_for_string(to_txt)