forked from expo/troggle
fix final \n on edited files
This commit is contained in:
@@ -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 ."
|
||||
|
||||
|
||||
Reference in New Issue
Block a user