-
Notifications
You must be signed in to change notification settings - Fork 192
Demos / COHN.py - String literal error #811
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't workingtriageNeeds to be reviewed and assignedNeeds to be reviewed and assigned
Description
Component
What is the bug in?
Python SDK, Demos/cohn.py
Describe the bug
Unterminated String Literal on Line 34. I have included lines 33-37 here:
console.print(
f"Sample curl command: {COHN_CURL_CMD_TEMPLATE.format(
password=gopro.cohn.credentials.password,
ip_addr=gopro.cohn.credentials.ip_address,)}"
)
To Reproduce
Steps to reproduce the behavior:
- Run "gopro-cohn" command with the SDK installed
Expected behavior
It runs
Hardware
- Camera: Hero13, etc.
- Laptop with Debian Linux
Additional context
I was able to fix the issue on Line 34 by changing the single quotes to triple quotes - It looks like there is a 3-line comment, but only single quotes around it.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingtriageNeeds to be reviewed and assignedNeeds to be reviewed and assigned