Skip to content

Commit

Permalink
Bug fix for removing invisible characters
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMadBug committed Nov 19, 2024
1 parent 991638c commit 3f417f2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions classification/models/classification.py
Original file line number Diff line number Diff line change
Expand Up @@ -1133,8 +1133,9 @@ def process_entry(self, cell: VCDataCell, source: str):
e_key = cell.e_key
note = cell.note

if value and '\u00a0' in value:
value = value.replace('\u00a0', ' ')
if isinstance(value, str):
if '\u00a0' in value:
value = value.replace('\u00a0', ' ')
if note and '\u00a0' in note:
note = note.replace('\u00a0', ' ')

Expand Down

0 comments on commit 3f417f2

Please sign in to comment.