This commit is contained in:
Miroslav Stampar
2021-01-05 13:36:04 +01:00
parent b36d8248a4
commit 91045aab60
4 changed files with 6 additions and 6 deletions

View File

@@ -1272,7 +1272,7 @@ def sanitizeStr(value):
True
"""
return getUnicode(value).replace("\n", " ").replace("\r", "")
return getUnicode(value).replace("\n", " ").replace("\r", "") if value else value
def getHeader(headers, key):
"""