diff --git a/goprocam/GoProCamera.py b/goprocam/GoProCamera.py index 5bceb3d..cf26b04 100644 --- a/goprocam/GoProCamera.py +++ b/goprocam/GoProCamera.py @@ -185,7 +185,7 @@ def whichCam(self): self.power_on(self._mac_address) time.sleep(5) except timeout: - self.power_on(self.mac_address) + self.power_on(self._mac_address) time.sleep(5) response = urllib.request.urlopen('http://' + self.ip_addr + '/camera/cv',timeout=5).read() if b"Hero3" in response: