From 02e475642a813fad3cd7863180a16c272138ccc5 Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Tue, 7 Dec 2021 23:46:55 +0000 Subject: fix final \n on edited files --- core/views/survex.py | 1 + 1 file changed, 1 insertion(+) (limited to 'core/views/survex.py') diff --git a/core/views/survex.py b/core/views/survex.py index a3ff5bd..332ad75 100644 --- a/core/views/survex.py +++ b/core/views/survex.py @@ -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 ." -- cgit v1.2.3