Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doesn't work with gopro HERO+LCD #68

Open
Luismasked opened this issue Jul 24, 2023 · 0 comments
Open

doesn't work with gopro HERO+LCD #68

Luismasked opened this issue Jul 24, 2023 · 0 comments

Comments

@Luismasked
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant