yuppity / unifi-video-api

Python API for UniFi Video
MIT License
59 stars 11 forks source link

Unhandled AttributeError during refresh_cameras() on construction of UnifiVideoAPI #13

Closed twoodrow closed 3 years ago

twoodrow commented 4 years ago

This just started happening this morning. I haven't changed any configuration of the Unifi system.

AttributeError in camera.py's _load_data method (line 199 is the offender). Adding AttributeError to the except clause appears to fix the issue for me.

twoodrow commented 4 years ago

attribute_error

yuppity commented 4 years ago

@twoodrow mind checking which version of unifi_video you're running? This should be fixed in the latest release; 0.1.6.

yuppity commented 3 years ago

Closing due to inactivity.