Fix crash if key is not a string
This commit is contained in:
parent
b2b8f252ef
commit
bd32345218
|
@ -3467,7 +3467,7 @@ def BuildResultsForSubform(form, initialize_only, top_level_form):
|
||||||
button_pressed_text = top_level_form.LastButtonClicked
|
button_pressed_text = top_level_form.LastButtonClicked
|
||||||
for row_num, row in enumerate(form.Rows):
|
for row_num, row in enumerate(form.Rows):
|
||||||
for col_num, element in enumerate(row):
|
for col_num, element in enumerate(row):
|
||||||
if element.Key is not None and WRITE_ONLY_KEY in element.Key:
|
if element.Key is not None and WRITE_ONLY_KEY in str(element.Key):
|
||||||
continue
|
continue
|
||||||
value = None
|
value = None
|
||||||
if element.Type == ELEM_TYPE_COLUMN:
|
if element.Type == ELEM_TYPE_COLUMN:
|
||||||
|
|
Loading…
Reference in New Issue