Skip to content
This repository has been archived by the owner on Jun 29, 2022. It is now read-only.

Commit

Permalink
Update with code review suggestion.
Browse files Browse the repository at this point in the history
  • Loading branch information
chambridge committed Nov 30, 2017
1 parent 1a32c70 commit ff8c7e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rho/postprocessing.py
Expand Up @@ -922,7 +922,7 @@ def escape_characters(data):
if utilities.is_stringlike(data[key]):
value = data[key].replace('\r\n', ' ').replace(',', ' ')
try:
data[key] = utilities.str_to_ascii(value)
data[key] = value.encode('unicode_escape')
except UnicodeEncodeError:
data[key] = ''
return data
Expand Down

0 comments on commit ff8c7e0

Please sign in to comment.