You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
result:
Traceback (most recent call last):
File "c:/Users/LMR/Documents/Python/gopro/fotoGopro.py", line 2, in
gopro = GoProCamera.GoPro()
File "C:\Users\LMR\AppData\Local\Programs\Python\Python38-32\lib\site-packages\goprocam\GoProCamera.py", line 70, in init
self._camera = self.whichCam()
File "C:\Users\LMR\AppData\Local\Programs\Python\Python38-32\lib\site-packages\goprocam\GoProCamera.py", line 269, in whichCam
if b"Hero3" in response: # should detect HERO3/3+
TypeError: 'in ' requires string as left operand, not bytes
The text was updated successfully, but these errors were encountered:
Python 3.8.0
goprocam 4.2.0
Code:
from goprocam import GoProCamera
gopro = GoProCamera.GoPro()
gopro.take_photo()
gopro.downloadLastMedia(custom_filename="prueba.png")
gopro.delete("last")
print("Foto Tomada")
print(gopro.listMedia())
result:
Traceback (most recent call last):
File "c:/Users/LMR/Documents/Python/gopro/fotoGopro.py", line 2, in
gopro = GoProCamera.GoPro()
File "C:\Users\LMR\AppData\Local\Programs\Python\Python38-32\lib\site-packages\goprocam\GoProCamera.py", line 70, in init
self._camera = self.whichCam()
File "C:\Users\LMR\AppData\Local\Programs\Python\Python38-32\lib\site-packages\goprocam\GoProCamera.py", line 269, in whichCam
if b"Hero3" in response: # should detect HERO3/3+
TypeError: 'in ' requires string as left operand, not bytes
The text was updated successfully, but these errors were encountered: