I found a small, easy to fix, problem when testing the Dark Sky forecast 
function in rtgd.py v.0.3.5.

I was quite surprised when the scrolling forecast indicated 47in of snow.  
A quick check of Dark Sky indicated 4-7 inches of snow.

I was able to track the problem back to line 3318:   summary = 
response[self.block]['summary'].encode('ascii', 'ignore')

Changing the encode parameter from "ascii' to 'UTF-8' seems to have fixed 
the problem:    summary = response[self.block]['summary'].encode('UTF-8', 
'ignore')

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to