Skip to content

error running simpletest on Pi 5 #4

@FoamyGuy

Description

@FoamyGuy

Running under Blinka on a Pi 5 is resulting in this error:

$ python sen6x_simpletest.py 
  File "Adafruit_CircuitPython_SEN6x/examples/sen6x_simpletest.py", line 55
    f"Temperature: {data["temperature"]:.1f}°C"
                          ^^^^^^^^^^^
SyntaxError: f-string: unmatched '['

I think maybe one of the sets of quotes needs to either be switched single quotes, or else maybe escape slashes could be used. I will try to fix and submit a PR with resolution once found.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions