Weather: dump json output in a prettier format

tmp/79b4e7d7e0424f8155715d7c458859a1/head
Brian S. Stephan 10 years ago
parent 41c1a46bb2
commit 6426df9ece

@ -105,7 +105,7 @@ class Weather(Module):
# condition data is loaded. the rest of this is obviously specific to
# http://www.wunderground.com/weather/api/d/docs?d=data/conditions
self.log.debug(condition_data)
self.log.debug(json.dumps(condition_data, sort_keys=True, indent=4))
try:
# just see if we have current_observation data

Loading…
Cancel
Save