Fix onvif consistent return (#33898)

This commit is contained in:
Paulus Schoutsen authored and GitHub committed 2020-04-09 09:51:23 -07:00
1 parent bc26be3c11
commit 32499dc8fe
1 file changed
+2
+2
View File
@@ -525,6 +525,8 @@ class ONVIFHassCamera(Camera):
error,
)
return None
image = await self.hass.async_add_job(fetch)
if image is None: