mirror of
https://github.com/ilri/csv-metadata-quality.git
synced 2025-04-03 21:52:31 +02:00
Revert "csv_metadata_quality/fix.py: minor logic fix"
This reverts commit b7a81b8ec73a97076a473b0cfd21bddb18af9706.
This commit is contained in:
parent
b7a81b8ec7
commit
188097abe4
@ -389,7 +389,7 @@ def countries_match_regions(row, exclude):
|
||||
# string (length would be 0).
|
||||
if row[region_column_name] is not None and len(row[region_column_name]) > 0:
|
||||
row[region_column_name] = (
|
||||
row[region_column_name] + "||".join(missing_regions)
|
||||
row[region_column_name] + "||" + "||".join(missing_regions)
|
||||
)
|
||||
else:
|
||||
row[region_column_name] = "||".join(missing_regions)
|
||||
|
Loading…
x
Reference in New Issue
Block a user