Skip to content

Commit

Permalink
Merge pull request #17 from pvernier/fix-issue-5
Browse files Browse the repository at this point in the history
Get the field name from property '' instead of 'name' which can be mi…
  • Loading branch information
pvernier authored Mar 14, 2023
2 parents 3543555 + 9f1ee7a commit 15a1fb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pykobo/form.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ def _get_survey(self) -> None:
and field["type"] != "end_repeat"
):

name_q = field["name"]
name_q = field["$autoname"]
if "label" in field:
label_q = field["label"][0]
else:
Expand Down

0 comments on commit 15a1fb1

Please sign in to comment.