Skip to content

Demos / COHN.py - String literal error #811

@macrobb-cygnusaero

Description

@macrobb-cygnusaero

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:

  1. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageNeeds to be reviewed and assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions