|
|

楼主 |
发表于 2008-6-21 13:30:12
|
显示全部楼层
已经解决了。
修改文件/usr/share/gdesklets/Sensors/GoodWeather/__init__.py第44行,最后加上&link=xoap即可。- You can get it working again by adding "&link=xoap" to the end of the definition for WEATHER_SOURCE in __init__.py and then restarting the desklet.
复制代码- class GoodWeatherSensor(Sensor):
- WEATHER_SOURCE = "http://xoap.weather.com/weather/local/" \
- "%(weather_code)s?cc=*&dayf=5&prod=xoap&" \
- "par=1003832479&key=bb12936706a2d601"
复制代码- class GoodWeatherSensor(Sensor):
- WEATHER_SOURCE = "http://xoap.weather.com/weather/local/" \
- "%(weather_code)s?cc=*&dayf=5&prod=xoap&" \
- "par=1003832479&key=bb12936706a2d601&link=xoap"
复制代码 |
|