Remove final newline from normalize_line_endings

Database columns aren't files. This new line causes
issues with `!= ""` checks.
This commit is contained in:
rubenwardy 2024-06-24 20:10:03 +01:00
parent d0fc83c00c
commit a134d21b79

@ -56,7 +56,7 @@ def normalize_line_endings(value: Optional[str]) -> Optional[str]:
if value is None:
return None
return value.replace("\r\n", "\n").strip() + "\n"
return value.replace("\r\n", "\n").strip()
def should_return_json():