Skip to content

Conversation

@deadc0de6
Copy link
Contributor

This fixes below error occurring when no motion video is available in the time frame provided to get_motion_files

File "/home/xux/.local/lib/python3.7/site-packages/reolinkapi/mixins/motion.py", line 49, in get_motion_files
  result = resp['value']['SearchResult']
KeyError: 'value'

@Benehiko
Copy link
Member

This looks good, thank you for your contribution @deadc0de6 :)

@Benehiko Benehiko merged commit 77eaff9 into ReolinkCameraAPI:master Aug 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants