From 188097abe48116a75015609d40ed1b325f6d5d5e Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Wed, 19 Mar 2025 16:04:12 +0300 Subject: [PATCH] Revert "csv_metadata_quality/fix.py: minor logic fix" This reverts commit b7a81b8ec73a97076a473b0cfd21bddb18af9706. --- csv_metadata_quality/fix.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csv_metadata_quality/fix.py b/csv_metadata_quality/fix.py index 390b198..93a673e 100755 --- a/csv_metadata_quality/fix.py +++ b/csv_metadata_quality/fix.py @@ -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)