Fix state variable not working as event arg (#960)

Co-authored-by: Xxxx <you@example.com>
This commit is contained in:
Sheldon 2023-05-08 07:08:34 +08:00 committed by GitHub
parent 272dfc2d7e
commit 960e4ec171
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -290,7 +290,10 @@ def format_event(event_spec: EventSpec) -> str:
",".join( ",".join(
[ [
":".join( ":".join(
(name.name, json.dumps(val.name) if val.is_string else val.name) (
name.name,
json.dumps(val.name) if val.is_string else val.full_name,
)
) )
for name, val in event_spec.args for name, val in event_spec.args
] ]