weather bot: Amend temperature formatting.
MODIFY
zulip_bots/zulip_bots/bots/weather/weather.py
zulip_bots/zulip_bots/bots/weather/weather.py
@@ -6,7 +6,7 @@ import json
class WeatherHandler(object):
def initialize(self, bot_handler):
self.api_key = bot_handler.get_config_info('weather', 'weather-config')['key']
- self.response_pattern = 'Weather in {}, {}:\n{} F / {} C\n{}'
+ self.response_pattern = 'Weather in {}, {}:\n{:.2f} F / {:.2f} C\n{}'
def usage(self):
return '''

weather bot: Amend temperature formatting.