Commit dc47623d authored by Pierre Dittgen's avatar Pierre Dittgen
Browse files

Fix row_count value

parent 57e17e9e
......@@ -473,7 +473,7 @@ def create_validata_ui_report(validata_core_report, schema_dict):
# Add error rows count
if key == 'body':
error_rows = {err["rowPosition"] for row in key_errors if "rowPosition" in err}
error_rows = {err["rowPosition"] for err in key_errors if "rowPosition" in err}
error_stats["rows-count"] = len(error_rows)
stats[f"{key}-errors"] = error_stats
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