KonradIT / gopro-py-api

Unofficial GoPro API Library for Python - connect to GoPro via WiFi.
MIT License
1.39k stars 211 forks source link

Fix self._camera setting before using it for HERO3, HERO3+, HERO2 and Camera.Interface.Auth #147

Closed aleksandr-vin closed 3 years ago

aleksandr-vin commented 3 years ago

Fixes #109

Previously calling self.power_on_auth() led to calling self._request (form self.getPassword), which uses self._camera while it was not set yet.

KonradIT commented 3 years ago

Thank you! It's been several years since I don't use a Hero3 so haven't tested it.