Skip to content

Commit

Permalink
Merge pull request #800 from mkmer/dev
Browse files Browse the repository at this point in the history
Check for none and empty dict in update
  • Loading branch information
fronzbot authored Nov 5, 2023
2 parents 128854d + 4beb976 commit fb7f003
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blinkpy/camera.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ async def set_motion_detect(self, enable):

async def update(self, config, force_cache=False, expire_clips=True, **kwargs):
"""Update camera info."""
if config != {}:
if bool(config):
self.extract_config_info(config)
await self.get_sensor_info()
await self.update_images(
Expand Down

0 comments on commit fb7f003

Please sign in to comment.