mirror of
https://github.com/powerline/powerline.git
synced 2025-07-23 22:05:43 +02:00
parent
2a9edc19ca
commit
da6dea74a9
@ -152,7 +152,7 @@ def weather(unit='c', location_query=None):
|
||||
'highlight_group': ['weather_condition_' + icon, 'weather_condition', 'weather'],
|
||||
},
|
||||
{
|
||||
'contents': '{0}°{1}'.format(condition['temp'], unit.upper()),
|
||||
'contents': u'{0}°{1}'.format(condition['temp'], unit.upper()),
|
||||
'highlight_group': ['weather_temp_cold' if int(condition['temp']) < 0 else 'weather_temp_hot', 'weather_temp', 'weather'],
|
||||
'draw_divider': False,
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user