1
0
mirror of https://github.com/ilri/csv-metadata-quality.git synced 2025-06-06 01:08:01 +02:00

csv_metadata_quality/fix.py: Fixes should be green

This commit is contained in:
2021-03-11 11:47:24 +02:00
parent 0089efa914
commit a0ea829f5c

View File

@ -77,7 +77,7 @@ def separators(field, field_name):
if match: if match:
print( 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) value = re.sub(pattern, "||", value)