Skip to content

Fix json_ready_sym to serialize actual attribute values instead of boolean True #90

@code-uri

Description

@code-uri

The json_ready_sym function in src/events/events.py was incorrectly serializing all truthy symbol attributes as True in the JSON output. This caused critical data loss for attributes that carry numerical values, such as multiplier (e.g., a multiplier of 10 was being output as "multiplier": true).

print_sym[attr] = True

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