Fix camera mjpeg stream handling (#18076)

* Fix handle_async_mjpeg_stream

* Lint
This commit is contained in:
Jason Hu authored and Pascal Vizeli committed 2018-11-01 09:28:23 +01:00
1 parent 32ee4f0714
commit f516550f9f
10 files changed
+52 -39

No files matched your search

+2 -1
View File
@@ -299,7 +299,8 @@ class Camera(Entity):
a direct stream from the camera.
This method must be run in the event loop.
"""
await self.handle_async_still_stream(request, self.frame_interval)
return await self.handle_async_still_stream(
request, self.frame_interval)
@property
def state(self):