google / python-lakeside

Apache License 2.0
45 stars 18 forks source link

Fix for return of None from the API #3

Closed fisco closed 6 years ago

fisco commented 6 years ago

The Eufy API can sometimes return None as an info['items']['device']. Make sure it doesn't try to access items on any of those None objects.

googlebot commented 6 years ago

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

:memo: Please visit https://cla.developers.google.com/ to sign.

Once you've signed (or fixed any issues), please reply here (e.g. I signed it!) and we'll verify it.


What to do if you already signed the CLA

Individual signers
Corporate signers
fisco commented 6 years ago

I signed it!

googlebot commented 6 years ago

CLAs look good, thanks!

mjg59 commented 6 years ago

Thank you!