Skip to content
Snippets Groups Projects
Commit 80c39f0a authored by David Rouquet's avatar David Rouquet
Browse files

add small cleaning in nestedBody2Str function

parent 24553ca7
Branches
No related tags found
No related merge requests found
Pipeline #194 passed
......@@ -52,7 +52,7 @@ def nestedBody2Str(b):
nestedFiltered = filter(lambda s: not (s == ''), nestedStriped)
result += ', '.join(nestedFiltered)
result += ". "
return (result)
return (result.replace('.,','.').replace('..','.').replace(',,',',').replace(';,',';'))
def addSubElement(parent, tag, text):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment