Skip to content

Commit

Permalink
Made small adjustment to the validator for skipping initial whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
jkwakman committed Jul 9, 2024
1 parent 359f1f6 commit 283b246
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/validate.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def validate_uuid(uuid_string):
return True

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

Expand Down

0 comments on commit 283b246

Please sign in to comment.