diff --git a/routes/routes121.py b/routes/routes121.py index c46392d..2a1d2be 100644 --- a/routes/routes121.py +++ b/routes/routes121.py @@ -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": [],