diff --git a/modules/location.py b/modules/location.py index 807fd33c..3e65346c 100644 --- a/modules/location.py +++ b/modules/location.py @@ -5,8 +5,7 @@ URL_OPENCAGE = "https://api.opencagedata.com/geocode/v1/json" class Module(ModuleManager.BaseModule): def on_load(self): self.exports.add("set", {"setting": "location", - "help": "Set your location", "validate": self._get_location, - "human": lambda x: "%s, %s" % (x["city"], x["country"])}) + "help": "Set your location", "validate": self._get_location}) def _get_location(self, s): page = utils.http.request(URL_OPENCAGE, get_params={