Skip to content
This repository has been archived by the owner on Feb 14, 2024. It is now read-only.

Commit

Permalink
Update db_query.py
Browse files Browse the repository at this point in the history
  • Loading branch information
edujosemena committed Jul 7, 2023
1 parent b6aa90a commit 9c2122b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pe_reports/data/db_query.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

def sanitize_string(string):
"""Remove special characters from string."""
return re.sub(r"[^a-zA-Z0-9]", "", string)
return re.sub(r"[^a-zA-Z0-9\s]", "", string)


def sanitize_uid(string):
Expand Down

0 comments on commit 9c2122b

Please sign in to comment.