Skip to content

Commit

Permalink
Add whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
mcarans committed Jun 27, 2024
1 parent ce2a988 commit 9b71e4a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/hdx/location/names.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ def make_replace_mapping():
# punctuation = string.punctuation.replace("'", "")
# chars_to_replace.append(punctuation)
# replacement_chars.append(" " * len(punctuation))
# chars_to_replace.append(string.whitespace)
# replacement_chars.append(" " * len(string.whitespace))
chars_to_replace.append(string.whitespace)
replacement_chars.append(" " * len(string.whitespace))

chars_to_replace = "".join(chars_to_replace)
replacement_chars = "".join(replacement_chars)
Expand All @@ -18,7 +18,7 @@ def make_replace_mapping():

replacement_mapping = make_replace_mapping()

lowercase_space = string.ascii_lowercase + string.punctuation + string.digits + string.whitespace
lowercase_space = string.ascii_lowercase + string.punctuation + string.digits + " "


def clean_name(name: str) -> str:
Expand Down

0 comments on commit 9b71e4a

Please sign in to comment.