Skip to content

Commit

Permalink
improve clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
tijsziere committed Nov 5, 2024
1 parent d7e5415 commit 9068c59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes/routes121.py
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ async def create_121_program_from_kobo(
koboConnectHeader.append(row["name"])
question = {
"name": row["name"],
"label": {"en": str(row["label"][0]) if not isinstance(row["label"], float) else row["name"]},
"label": {"en": str(row["label"][0]) if not row["label"] else row["name"]},
"answerType": type_mapping[row["type"].split()[0]],
"questionType": "standard",
"options": [],
Expand Down

0 comments on commit 9068c59

Please sign in to comment.