diff --git a/modules/weather.py b/modules/weather.py index 263bc07d..2b45a98d 100644 --- a/modules/weather.py +++ b/modules/weather.py @@ -40,6 +40,7 @@ class Module(ModuleManager.BaseModule): args = {"units": "metric", "APPID": api_key} + location_name = None if location: lat, lon, location_name = location args["lat"] = lat