You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Signature: TypeError: object of type 'NoneType' has no len() (file "/home/willie/jenni/willie/modules/weather.py", line 35, in woeid_search)
from #YourPants at 2013-03-02 09:51:01.735773:
Message was: .weather jash
Traceback (most recent call last):
File "/home/willie/jenni/willie/bot.py", line 415, in call
"warning")
File "/home/willie/jenni/willie/modules/weather.py", line 137, in weather
woeid = woeid_search(location).find('woeid').text
File "/home/willie/jenni/willie/modules/weather.py", line 35, in woeid_search
if len(first_result) == 0:
TypeError: object of type 'NoneType' has no len()
[1550.55] < jash> .weather
[1550.56] <@ Willie> Yahoo! Weather - Stuttgart, DE: Sunny, 3°C (37°F), 30in (1023mb), Light breeze 6kt (↓)
[1551.05] <&Tyrope> .weather jash
[1551.06] <@ Willie> TypeError: object of type 'NoneType' has no len() (file "/home/willie/jenni/willie/modules/weather.py", line 35, in woeid_search)
The text was updated successfully, but these errors were encountered: