File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -163,7 +163,7 @@ def make_events_data(data: dict) -> list[dict]:
163163 # if the whole function in defined in the event, make sure it has a unique identifier
164164 if event ["func_evt" ].startswith ("def" ):
165165 # replace the name of the function by something unique
166- func_evt = event ["func_evt_desc " ]
166+ func_evt = event ["func_evt " ]
167167 func_evt = func_evt .replace (
168168 "def func_evt" , f"def { event ['name' ]} _func_evt"
169169 )
@@ -178,7 +178,7 @@ def make_events_data(data: dict) -> list[dict]:
178178 # if the whole function in defined in the event, make sure it has a unique identifier
179179 if event ["func_act" ].startswith ("def" ):
180180 # replace the name of the function by something unique
181- func_act = event ["func_act_desc " ]
181+ func_act = event ["func_act " ]
182182 func_act = func_act .replace (
183183 "def func_act" , f"def { event ['name' ]} _func_act"
184184 )
You can’t perform that action at this time.
0 commit comments