From a37e2731825314b7607433edbcf5c5895e5dcbe5 Mon Sep 17 00:00:00 2001 From: Paul Oliver Date: Thu, 29 Feb 2024 02:29:14 +0100 Subject: Auto-save saves to main file as well [#42] --- bin/salis.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bin/salis.py') diff --git a/bin/salis.py b/bin/salis.py index e40e72d..0d518db 100755 --- a/bin/salis.py +++ b/bin/salis.py @@ -166,6 +166,9 @@ class Salis: self.lib.sal_main_save(auto_path.encode("utf-8")) check_call(["gzip", auto_path]) + # Save to main file as well. + self.lib.sal_main_save(self.save_file_path.encode("utf-8")) + def exit(self): """ Save network settings and signal we want to exit the simulator. """ -- cgit v1.2.1