aboutsummaryrefslogtreecommitdiff
path: root/modules/weather.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/weather.py')
-rw-r--r--modules/weather.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/weather.py b/modules/weather.py
index 25c2d096..bd6b5e8b 100644
--- a/modules/weather.py
+++ b/modules/weather.py
@@ -45,7 +45,7 @@ class Module(ModuleManager.BaseModule):
if location == None and query:
- location_info = self.exports.get_one("get-location")(query)
+ location_info = self.exports.get("get-location")(query)
if not location_info == None:
location = [location_info["lat"], location_info["lon"],
location_info.get("name", None)]