mirror of
https://github.com/ilri/csv-metadata-quality.git
synced 2025-01-24 11:13:22 +01:00
csv_metadata_quality/check.py: Return date even if it is invalid
Otherwise it is missing from the final CSV and then we can't even fix it. :)
This commit is contained in:
parent
8509006165
commit
d7888d59a8
@ -125,6 +125,8 @@ def date(field):
|
||||
except ValueError:
|
||||
print(f'Invalid date: {field}')
|
||||
|
||||
return field
|
||||
|
||||
|
||||
def suspicious_characters(field):
|
||||
"""Warn about suspicious characters.
|
||||
|
Loading…
x
Reference in New Issue
Block a user