reolinkapipy
reolinkapipy copied to clipboard
fix KeyError: value
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'