diff options
author | Tomasz Kramkowski <tomasz@kramkow.ski> | 2025-08-16 21:09:39 +0100 |
---|---|---|
committer | Tomasz Kramkowski <tomasz@kramkow.ski> | 2025-08-16 21:09:39 +0100 |
commit | 1c69e3f93fd0470b05cdfa5c3a320da0b8e2e871 (patch) | |
tree | 66288cf88de8fcae1d52fcb4b0603c9ec5cc0641 | |
parent | f3a38d53819e2cc9ba2587dddde458d1d64b26ea (diff) | |
download | kutter-1c69e3f93fd0470b05cdfa5c3a320da0b8e2e871.tar.gz kutter-1c69e3f93fd0470b05cdfa5c3a320da0b8e2e871.tar.xz kutter-1c69e3f93fd0470b05cdfa5c3a320da0b8e2e871.zip |
Terminate saved configs with a newline
-rw-r--r-- | klippy/configfile.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/klippy/configfile.py b/klippy/configfile.py index f04bfe32..03f60288 100644 --- a/klippy/configfile.py +++ b/klippy/configfile.py @@ -447,7 +447,7 @@ class ConfigAutoSave: # config. Which is fine because they're ignored when the main config is # read. But maybe there should be a warning either here or at load as # there's no feedback mechanism anymore. - autosave_data = cfgrdr.build_config_string(self.fileconfig) + autosave_data = cfgrdr.build_config_string(self.fileconfig) + "\n" autosave_filename = self.printer.get_start_args()["saved_config"] # Determine filenames datestr = time.strftime("-%Y%m%d_%H%M%S") |