Da-Rabbit-Hole commited on
Commit
0791188
·
verified ·
1 Parent(s): dfb3283

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -50,12 +50,13 @@ def get_location_tool(ip: str): str
50
 
51
  Returns: ip address, city, region, country, and geo coordinates
52
  """
53
- return {
54
  'city': response.city,
55
  'region': response.region,
56
  'country': response.country,
57
  'latitude': response.latitude,
58
  'longitude': response.longitude
 
59
  response = DbIpCity.get(ip, api_key='free')
60
 
61
 
 
50
 
51
  Returns: ip address, city, region, country, and geo coordinates
52
  """
53
+ return {
54
  'city': response.city,
55
  'region': response.region,
56
  'country': response.country,
57
  'latitude': response.latitude,
58
  'longitude': response.longitude
59
+ {
60
  response = DbIpCity.get(ip, api_key='free')
61
 
62