Skip to content

Commit

Permalink
Change default value to none if camera doesn't support defence schedules
Browse files Browse the repository at this point in the history
  • Loading branch information
RenierM26 committed Apr 5, 2021
1 parent 8b0ef4f commit 86993cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyezviz/camera.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def _is_alarm_schedules_enabled(self):
if time_plans:
return bool(time_plans[0].get("enable"))

return "unknown"
return None

def status(self):
"""Return the status of the camera."""
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name='pyezviz',
version="0.1.8.4",
version="0.1.8.5",
license='Apache Software License 2.0',
author='Pierre Ourdouille',
author_email='[email protected]',
Expand Down

0 comments on commit 86993cb

Please sign in to comment.