fix final \n on edited files

This commit is contained in:
Philip Sargent
2021-12-07 23:46:55 +00:00
parent 406b4590a9
commit 02e475642a
2 changed files with 15 additions and 7 deletions

View File

@@ -152,6 +152,7 @@ class SvxForm(forms.Form):
# javascript seems to insert CRLF on WSL1 whatever you say. So fix that:
res = fout.write(rcode.replace("\r",""))
res = fout.write("\n")
fout.close()
return "SAVED ."