jairobel
GForum VIP
- Entrou
- Set 24, 2006
- Mensagens
- 13,098
- Gostos Recebidos
- 1

Normaly the plugin can switch Celsius to Fahrenheit
If not try to change code in plugin.py or inverse C & F
plugin.py line 276 to 288
Código:
elif items.tag == "unit_system":
if getData(items) == "SI":
unit = "C"
else:
unit = "F"
elif childs.tag == "current_conditions":
for items in childs:
if items.tag == "condition":
self['condition'].text = _('Current ') + getData(items)
elif items.tag == "temp_c" and unit == "C":
self['currentTemp'].text = getData(items) + ' °C'
elif items.tag == 'temp_f' and unit == 'F':
self['currentTemp'].text = getData(items) + ' °F'