Bugfix mjpeg camera (#5539)
This commit is contained in:
parent
b2ecaa189a
commit
c972e90580
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ class MjpegCamera(Camera):
|
|||
self._username = device_info.get(CONF_USERNAME)
|
||||
self._password = device_info.get(CONF_PASSWORD)
|
||||
self._mjpeg_url = device_info[CONF_MJPEG_URL]
|
||||
self._still_image_url = device_info[CONF_STILL_IMAGE_URL]
|
||||
self._still_image_url = device_info.get(CONF_STILL_IMAGE_URL)
|
||||
|
||||
self._auth = None
|
||||
if self._username and self._password:
|
||||
|
|
Loading…
Add table
Reference in a new issue