From 85706ba30aa104fd0c5472de72c3a9b2dc6cfdce Mon Sep 17 00:00:00 2001 From: "Dr.-Ing. Amilcar do Carmo Lucas" Date: Sat, 3 Aug 2024 00:31:01 +0200 Subject: [PATCH] IMPROVEMENT: also .zip the "_configuration_steps.json" file if it exists --- MethodicConfigurator/backend_filesystem.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MethodicConfigurator/backend_filesystem.py b/MethodicConfigurator/backend_filesystem.py index 5fb9cd01..09ed9550 100644 --- a/MethodicConfigurator/backend_filesystem.py +++ b/MethodicConfigurator/backend_filesystem.py @@ -383,7 +383,7 @@ def zip_files(self, files_to_zip: List[Tuple[bool, str]]): # Check for and add specific files if they exist specific_files = ["00_default.param", "apm.pdef.xml", self.configuration_steps_filename, "vehicle_components.json", "vehicle.jpg", "last_uploaded_filename.txt", - "tempcal_gyro.png", "tempcal_acc.png"] + "tempcal_gyro.png", "tempcal_acc.png", self.vehicle_type + "_configuration_steps.json"] for file_name in specific_files: file_path = os_path.join(self.vehicle_dir, file_name) if os_path.exists(file_path):