diff options
author | Philip Sargent <philip.sargent@klebos.com> | 2021-12-07 23:46:55 +0000 |
---|---|---|
committer | Philip Sargent <philip.sargent@klebos.com> | 2021-12-07 23:46:55 +0000 |
commit | 02e475642a813fad3cd7863180a16c272138ccc5 (patch) | |
tree | 70e0ee64ccf57129ca086d4958b2af4231407963 /core/views/survex.py | |
parent | 406b4590a9470aa0a965b46bbe06730d3a278f9b (diff) | |
download | troggle-02e475642a813fad3cd7863180a16c272138ccc5.tar.gz troggle-02e475642a813fad3cd7863180a16c272138ccc5.tar.bz2 troggle-02e475642a813fad3cd7863180a16c272138ccc5.zip |
fix final \n on edited files
Diffstat (limited to 'core/views/survex.py')
-rw-r--r-- | core/views/survex.py | 1 |
1 files changed, 1 insertions, 0 deletions
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 ." |