mirror of
https://github.com/ilri/csv-metadata-quality.git
synced 2025-07-06 06:21:36 +02:00
Make output less debuggy
This commit is contained in:
@ -24,7 +24,7 @@ def whitespace(field):
|
||||
match = re.findall(pattern, value)
|
||||
|
||||
if len(match) > 0:
|
||||
print('DEBUG: Excessive whitespace')
|
||||
print(f'Excessive whitespace: {value}')
|
||||
value = re.sub(pattern, ' ', value)
|
||||
|
||||
# Save cleaned value
|
||||
|
Reference in New Issue
Block a user