aboutsummaryrefslogtreecommitdiff
path: root/modules/location.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/location.py')
-rw-r--r--modules/location.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/location.py b/modules/location.py
index 3fcef4ae..2415d20b 100644
--- a/modules/location.py
+++ b/modules/location.py
@@ -19,5 +19,6 @@ class Module(ModuleManager.BaseModule):
timezone = result["annotations"]["timezone"]["name"]
lat = result["geometry"]["lat"]
lon = result["geometry"]["lng"]
+ name = result["formatted"]
- return {"timezone": timezone, "lat": lat, "lon": lon}
+ return {"timezone": timezone, "lat": lat, "lon": lon, "name": name}