Skip to content

Commit adb4959

Browse files
committed
replace \n with space
1 parent b33e2c1 commit adb4959

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mapswipe_workers/mapswipe_workers/utils/api_calls.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def remove_troublesome_chars(string: str):
1616
"""Remove chars that cause trouble when pushed into postgres."""
1717
if type(string) is not str:
1818
return string
19-
troublesome_chars = {'"': "", "'": "", "\n": ""}
19+
troublesome_chars = {'"': "", "'": "", "\n": " "}
2020
for k, v in troublesome_chars.items():
2121
string = string.replace(k, v)
2222
return string

0 commit comments

Comments
 (0)