Skip to content

Commit 283b246

Browse files
authored
Made small adjustment to the validator for skipping initial whitespace
1 parent 359f1f6 commit 283b246

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/validate.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ def validate_uuid(uuid_string):
99
return True
1010

1111
def validate_csv(file_path):
12-
df = pd.read_csv(file_path)
12+
df = pd.read_csv(file_path, sep=',', skipinitialspace=True)
1313
columns = ['ID', 'Platform', 'Category', 'Cookie / Data Key name', 'Domain', 'Description', 'Retention period', 'Data Controller', 'User Privacy & GDPR Rights Portals', 'Wildcard match']
1414
valid_categories = ['Functional','Personalization','Analytics', 'Marketing', 'Security']
1515

0 commit comments

Comments
 (0)