diff options
| author | 2019-04-28 14:13:20 +0100 | |
|---|---|---|
| committer | 2019-04-28 14:13:26 +0100 | |
| commit | 91d32dae9be425574e69490a16069b40caaa9762 (patch) | |
| tree | 0d5f5b295c54f784a170d3ed8f6a7f7f040c0200 /modules/weather.py | |
| parent | Actually provide user nickname in !weather error message (diff) | |
| signature | ||
"%", not ","
Diffstat (limited to 'modules/weather.py')
| -rw-r--r-- | modules/weather.py | 4 |
1 files 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: |
