Skip to content

Commit 5e28af7

Browse files
fix the fix
1 parent 49e0db8 commit 5e28af7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/python/convert_to_python.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
)

0 commit comments

Comments
 (0)