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:
@ -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)
|
||||||
|
Reference in New Issue
Block a user