Skip to content

4.16. Raw Bayer data captures - Example Code - Assertion Error #732

Open
@BlenderVali

Description

@BlenderVali

In the example script:
docs/examples/bayer_data.py At line 35: assert data[:4] == 'BRCM'
The Assertion Fails in Python 3.9.2

The Workaround I found for this: assert data[:4] == b'BRCM'

Apparently b'BRCM' and 'BRCM' Cannot be compared.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions