Skip to content

The program will throw an error when entity['rules'] is empty. #13

@Gingsguard

Description

@Gingsguard

Hi, I found a bug in the script. When analyzing the incoming JSON, entity['rules'] may be empty, which causes the program to crash and exit.
I found a solution to fix the issue. Please refer to the image below.
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions