mirror of
https://github.com/home-assistant/core.git
synced 2025-07-15 17:27:10 +00:00
lint v2 (#5444)
This commit is contained in:
parent
11083cf04b
commit
3da25c227f
@ -94,7 +94,7 @@ class MjpegCamera(Camera):
|
|||||||
response = None
|
response = None
|
||||||
try:
|
try:
|
||||||
with async_timeout.timeout(10, loop=self.hass.loop):
|
with async_timeout.timeout(10, loop=self.hass.loop):
|
||||||
response = websession.get(
|
response = yield from websession.get(
|
||||||
self._still_image_url, auth=self._auth)
|
self._still_image_url, auth=self._auth)
|
||||||
|
|
||||||
image = yield from response.read()
|
image = yield from response.read()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user