From 3af017f7fd11feaf054993ddb13b85376ba29e0a Mon Sep 17 00:00:00 2001 From: Sanj Date: Tue, 18 Sep 2012 17:54:13 +0530 Subject: [PATCH] route url sms --- 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 e19d454..4ba2613 100644 --- a/smsBEST/mumbai/app.py +++ b/smsBEST/mumbai/app.py @@ -77,7 +77,7 @@ class App(AppBase): origin, dest = stops[0]['properties'], stops[-1]['properties'] 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/route/' + detail.alias + url = "http://chalobest.in" + detail.route.url msg.respond("%s: %s (%s) to %s (%s) %s" % ( ",".join(routes), origin_name, origin_area, dest_name, dest_area, url)) elif msg.text.find(" to ") != -1: