Skip to content

Commit

Permalink
add info to debug
Browse files Browse the repository at this point in the history
  • Loading branch information
jmargutt committed Nov 19, 2024
1 parent 368bec5 commit 17453fc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion routes/routesKobo.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,9 @@ async def kobo_to_linked_kobo(
if request.headers["parentquestion"] not in parent_submission.keys():
continue

name = parent_submission[request.headers["parentquestion"]]
parent_data = clean_kobo_data(parent_submission)

name = parent_data[request.headers["parentquestion"].lower()]
if name in names:
continue # avoid duplicate names
names.append(name)
Expand Down

0 comments on commit 17453fc

Please sign in to comment.