mirror of
https://github.com/ilri/csv-metadata-quality.git
synced 2024-11-22 13:55:03 +01:00
csv_metadata_quality/fix.py: Fixes should be green
This commit is contained in:
parent
0089efa914
commit
a0ea829f5c
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user