replace newlines with spaces

whereas before they were simply discarded
This commit is contained in:
surtur 2021-12-20 05:24:08 +01:00
parent 4ee9cf5af6
commit 1f45489cab
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

@ -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