X-Git-Url: http://gitweb.michael.orlitzky.com/?p=dead%2Fcensus-tools.git;a=blobdiff_plain;f=www%2Fmaps%2Fmaps%2Fcontrollers%2Fdirections.py;h=4c765a3dad217bc4e428eb73122a4a073fe5bae3;hp=eabdfd49da36c155787b72a96ba986ee19ee7e1a;hb=c0a23c3492a4aa7eefa21c8c5f2a4037000a9493;hpb=38f4b3b171a17f6f3e89be396c093355b12986c4 diff --git a/www/maps/maps/controllers/directions.py b/www/maps/maps/controllers/directions.py index eabdfd4..4c765a3 100644 --- a/www/maps/maps/controllers/directions.py +++ b/www/maps/maps/controllers/directions.py @@ -73,7 +73,7 @@ class DirectionsController(BaseController): def json_to_kml(self): - directions_array = json.loads(request.POST['directions_result']) + directions_array = json.loads(request.POST['data']) placemarks = [] for result in directions_array: placemarks += self.directions_result_to_placemarks(result)