Skip to content

Commit

Permalink
Merge pull request #95 from waider/upstream
Browse files Browse the repository at this point in the history
self.mac_address should be self._mac_address
  • Loading branch information
KonradIT authored Apr 30, 2019
2 parents 3079212 + cd73d29 commit 69762de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion goprocam/GoProCamera.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 69762de

Please sign in to comment.