Skip to content

Commit

Permalink
error removed
Browse files Browse the repository at this point in the history
  • Loading branch information
saurabhdaalia committed Jun 15, 2017
1 parent 6a2c396 commit 625533d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ def log(msg):

def location_data(lat,lng,type):

location="lat"+","+"lng"
final_url= base_url+location + "rankby=distance&types=" + type+ "&sensor=false&key="+ place_api
location=lat+","+lng
final_url= base_url+location + "rankby=distance&types=" + type+ "&key="+ place_api

#r=requests.get("https://maps.googleapis.com/maps/api/place/search/json?location=31.6607795,74.8214579&rankby=distance&types=police&sensor=false&key="+place_api)
r=requests.get(final_url)
Expand Down

0 comments on commit 625533d

Please sign in to comment.