mirror of
https://github.com/powerline/powerline.git
synced 2025-07-28 16:24:57 +02:00
Merge pull request #959 from aledovsky/bug/weather_segment_fix
Fix weather segment display
This commit is contained in:
commit
39d1f4e1d6
@ -371,7 +371,7 @@ class WeatherSegment(ThreadedSegment):
|
|||||||
location_data['country_code']])
|
location_data['country_code']])
|
||||||
query_data = {
|
query_data = {
|
||||||
'q':
|
'q':
|
||||||
'use "http://github.com/yql/yql-tables/raw/master/weather/weather.bylocation.xml" as we;'
|
'use "https://raw.githubusercontent.com/yql/yql-tables/master/weather/weather.bylocation.xml" as we;'
|
||||||
'select * from we where location="{0}" and unit="c"'.format(self.location).encode('utf-8'),
|
'select * from we where location="{0}" and unit="c"'.format(self.location).encode('utf-8'),
|
||||||
'format': 'json',
|
'format': 'json',
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user