Skip to content

Commit

Permalink
Fix onvif snapshot for Sricam SP009 (home-assistant#36095)
Browse files Browse the repository at this point in the history
  • Loading branch information
Minims authored and frenck committed May 26, 2020
1 parent 0f7ea29 commit 249c00d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion homeassistant/components/onvif/device.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ async def async_get_capabilities(self):
media_service = self.device.create_media_service()
media_capabilities = await media_service.GetServiceCapabilities()
snapshot = media_capabilities and media_capabilities.SnapshotUri
except (ONVIFError, Fault):
except (ONVIFError, Fault, ServerDisconnectedError):
pass

pullpoint = False
Expand Down

0 comments on commit 249c00d

Please sign in to comment.