diff --git a/woudc_extcsv/__init__.py b/woudc_extcsv/__init__.py index 4d52899..148ab79 100644 --- a/woudc_extcsv/__init__.py +++ b/woudc_extcsv/__init__.py @@ -1168,7 +1168,8 @@ def check_field_validity(self, table, definition): column = self.extcsv[table][field] if isinstance(column, list) and '' in column: line = valueline + column.index('') - if not self._add_to_report(204, line, table=table, field=field): + if not self._add_to_report( + 204, line, table=table, field=field): success = False return success