aboutsummaryrefslogtreecommitdiff
path: root/modules/user_time.py
diff options
context:
space:
mode:
authorGravatar jesopo2020-03-08 14:14:00 +0000
committerGravatar jesopo2020-03-08 14:14:00 +0000
commit49d9cbdb87a40cf58f1997914ca1b5033fcc13b3 (patch)
treef89b4b6d5acc0ec88f6e8b5e7445454c04797d93 /modules/user_time.py
parentadd space between command and usage string (diff)
exports.get_one() -> exports.get()
Diffstat (limited to 'modules/user_time.py')
-rw-r--r--modules/user_time.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/user_time.py b/modules/user_time.py
index 762a9440..8d0701e6 100644
--- a/modules/user_time.py
+++ b/modules/user_time.py
@@ -34,7 +34,7 @@ class Module(ModuleManager.BaseModule):
location["timezone"])
if query:
- location = self.exports.get_one("get-location")(query)
+ location = self.exports.get("get-location")(query)
if location:
return (LocationType.NAME, location["name"],
location["timezone"])