Commit 204682d2 authored by Pierre Dittgen's avatar Pierre Dittgen
Browse files

Fix crash on row errors

parent 5288a4b9
...@@ -147,7 +147,7 @@ def amend_report(report): ...@@ -147,7 +147,7 @@ def amend_report(report):
row_col_set = set() row_col_set = set()
for err in errors: for err in errors:
if err['tag'] == 'value': if err['tag'] == 'value':
row_col_id = '{}_{}'.format(err['row-number'], err['column-number']) row_col_id = '{}_{}'.format(err['row-number'], err.get('column-number', ''))
if row_col_id in row_col_set: if row_col_id in row_col_set:
continue continue
row_col_set.add(row_col_id) row_col_set.add(row_col_id)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment