From 50ae4e17f2ce6c21a383407b74400add6681ef1c Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Mon, 29 Jul 2019 17:14:48 +0300 Subject: [PATCH] csv_metadata_quality/fix.py: Fix indent --- 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 32c218d..ac2c7b2 100755 --- a/csv_metadata_quality/fix.py +++ b/csv_metadata_quality/fix.py @@ -24,8 +24,8 @@ def whitespace(field): pattern = re.compile(r'\s{2,}') match = re.findall(pattern, value) - print(f'Excessive whitespace: {value}') if match: + print(f'Excessive whitespace: {value}') value = re.sub(pattern, ' ', value) # Save cleaned value