Comment 41 for bug 821233

Revision history for this message
Jean-Luc Aufranc (jean-luc-aufranc) wrote :

Very strange. The solution to this bug is exactly the opposite of the solution to https://bugs.launchpad.net/weather-indicator/+bug/1090890

And I get the same error whether I use:
if (yahoo_woeid_result['ResultSet']['Error'] != 0)
or
if (yahoo_woeid_result['ResultSet']['Error'] != "0")