From 46e6d883dce1b2ecc8626d8278a8a2fa11aaef6d Mon Sep 17 00:00:00 2001 From: Tim Head Date: Tue, 18 Nov 2014 15:46:56 +0100 Subject: [PATCH] More tidying up from Tims rebase screw up --- app.py | 9 --------- views/index.html | 2 +- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/app.py b/app.py index fe44171..d6b360a 100755 --- a/app.py +++ b/app.py @@ -30,15 +30,6 @@ def showMap(threewords): return template('index', err="Could not find location {}".format(threewords)) -@get('/latlng/,') -def showMapFromLatLng(lat, lng): - try: - threewords = these.three_words((lat, lng)) - return template('map', lat=lat, lng=lng, threewords=threewords) - except: - return template('index', - err="Could not find location {}".format(threewords)) - @get('/latlng/,') def showMapFromLatLng(lat, lng): diff --git a/views/index.html b/views/index.html index 1e6fd61..4b96b8a 100644 --- a/views/index.html +++ b/views/index.html @@ -11,7 +11,7 @@ - +
% if err: