From 91d32dae9be425574e69490a16069b40caaa9762 Mon Sep 17 00:00:00 2001 From: jesopo Date: Sun, 28 Apr 2019 14:13:20 +0100 Subject: [PATCH] "%", not "," --- modules/weather.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/weather.py b/modules/weather.py index 3701d7dc..a4926329 100644 --- a/modules/weather.py +++ b/modules/weather.py @@ -23,8 +23,8 @@ class Module(ModuleManager.BaseModule): target_user = event["server"].get_user(event["args_split"][0]) location = self._user_location(target_user) if location == None: - raise utils.EventError("%s doesn't have a location set", - target_user.nickname) + raise utils.EventError("%s doesn't have a location set" + % target_user.nickname) else: location = self._user_location(event["user"]) if location == None: