Skip to content

Bug: parchmint throws keyError when certain key is not detected in json #2

Closed
@bjoernh2000

Description

@bjoernh2000
File "/home/ubuntu/pyparchmint/parchmint/device.py", line 228, in parse_from_json
    for layer in json["layers"]:
KeyError: 'layers'

3DuF didn't generate the 'layers' key for the JSON object, and on parsing the file into parchmint a key error is thrown.

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