From 110d09e20ed135b1220cea9218f8dd9335046cce Mon Sep 17 00:00:00 2001 From: Tom Jakubowski Date: Sun, 11 May 2014 14:27:45 -0700 Subject: [PATCH] Improve weather plugin suggestions "$city, $state, $country" works better for follow-up searches. --- plugins/weather.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/weather.py b/plugins/weather.py index 3443c11..8fe076c 100644 --- a/plugins/weather.py +++ b/plugins/weather.py @@ -82,13 +82,13 @@ def weather(inp, chan='', nick='', reply=None, db=None, api_key=None): results = parsed_json['response']['results'] for place in results[:6]: - resp += '{city} '.format(**place) + resp += '{city}, '.format(**place) if place['state']: - resp += '{state} '.format(**place) + resp += '{state}, '.format(**place) if place['country_name']: - resp += '{country_name}, '.format(**place) + resp += '{country_name}; '.format(**place) resp = resp[:-2]