1
0
mirror of https://github.com/ilri/csv-metadata-quality.git synced 2024-12-22 12:12:18 +01:00

csv_metadata_quality/fix.py: Fixes should be green

This commit is contained in:
Alan Orth 2021-03-11 11:47:24 +02:00
parent 0089efa914
commit a0ea829f5c
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

View File

@ -77,7 +77,7 @@ def separators(field, field_name):
if match:
print(
f"{Fore.RED}Fixing invalid multi-value separator ({field_name}): {Fore.RESET}{value}"
f"{Fore.GREEN}Fixing invalid multi-value separator ({field_name}): {Fore.RESET}{value}"
)
value = re.sub(pattern, "||", value)