Skip to content

Commit

Permalink
BUG #110
Browse files Browse the repository at this point in the history
  • Loading branch information
MRyderOC authored Feb 24, 2023
1 parent ec49fc4 commit 2b56a2f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/dfcx_scrapi/core/transition_route_groups.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,9 +320,11 @@ def route_groups_to_dataframe(
temp_dict.update({"route_group_name": route_group.display_name})

if route.target_page:
temp_dict.update(
{"target_page": all_pages_map[route.target_page]}
)
t_p = all_pages_map.get(route.target_page)
if not t_p:
t_p = str(route.target_page).split("/")[-1]

temp_dict.update({"target_page": t_p})

if route.intent:
temp_dict.update({"intent": intents_map[route.intent]})
Expand Down

0 comments on commit 2b56a2f

Please sign in to comment.