Skip to content

Commit

Permalink
Fix MJPEG fallback when still image URL is missing with basic auth
Browse files Browse the repository at this point in the history
I picked up an old DCS-930L (circa 2010) camera to test with
to fix #94877
  • Loading branch information
bdraco committed Mar 10, 2024
1 parent 83dd69d commit df69d1e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions homeassistant/components/mjpeg/camera.py
Expand Up @@ -145,6 +145,7 @@ async def async_camera_image(
try:
async with asyncio.timeout(TIMEOUT):
response = await websession.get(self._still_image_url, auth=self._auth)

image = await response.read()
return image

Expand Down

0 comments on commit df69d1e

Please sign in to comment.