Always load yr picture from https (#11796)

pull/11792/merge
Andrey 2018-01-19 14:06:34 +02:00 committed by Daniel Høyer Iversen
parent 5ef7a8d55a
commit 273db75248
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,7 @@ class YrSensor(Entity):
"""Weather symbol if type is symbol.""" """Weather symbol if type is symbol."""
if self.type != 'symbol': if self.type != 'symbol':
return None return None
return "//api.met.no/weatherapi/weathericon/1.1/" \ return "https://api.met.no/weatherapi/weathericon/1.1/" \
"?symbol={0};content_type=image/png".format(self._state) "?symbol={0};content_type=image/png".format(self._state)
@property @property