diff options
| author | 2020-03-08 14:14:00 +0000 | |
|---|---|---|
| committer | 2020-03-08 14:14:00 +0000 | |
| commit | 49d9cbdb87a40cf58f1997914ca1b5033fcc13b3 (patch) | |
| tree | f89b4b6d5acc0ec88f6e8b5e7445454c04797d93 /modules/weather.py | |
| parent | add space between command and usage string (diff) | |
| signature | ||
exports.get_one() -> exports.get()
Diffstat (limited to 'modules/weather.py')
| -rw-r--r-- | modules/weather.py | 2 |
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)] |
