replace newlines with spaces
whereas before they were simply discarded
This commit is contained in:
parent
4ee9cf5af6
commit
1f45489cab
@ -30,7 +30,7 @@ class da_detector:
|
||||
|
||||
def rm_newlines(self, data):
|
||||
try:
|
||||
data = data.replace('\n', '')
|
||||
data = data.replace('\n', ' ')
|
||||
except Exception as e:
|
||||
raise e
|
||||
return data
|
||||
|
Reference in New Issue
Block a user