From 49d9cbdb87a40cf58f1997914ca1b5033fcc13b3 Mon Sep 17 00:00:00 2001 From: jesopo Date: Sun, 8 Mar 2020 14:14:00 +0000 Subject: exports.get_one() -> exports.get() --- modules/weather.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/weather.py') 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)] -- cgit v1.3.1-10-gc9f91