Fix onvif consistent return (#33898)

pull/33902/head
Paulus Schoutsen 2020-04-09 09:51:23 -07:00 committed by GitHub
parent bc26be3c11
commit 32499dc8fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -525,6 +525,8 @@ class ONVIFHassCamera(Camera):
error,
)
return None
image = await self.hass.async_add_job(fetch)
if image is None: