Skip to content

Commit 85706ba

Browse files
committed
IMPROVEMENT: also .zip the "_configuration_steps.json" file if it exists
1 parent d4ece5c commit 85706ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MethodicConfigurator/backend_filesystem.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ def zip_files(self, files_to_zip: List[Tuple[bool, str]]):
383383
# Check for and add specific files if they exist
384384
specific_files = ["00_default.param", "apm.pdef.xml", self.configuration_steps_filename,
385385
"vehicle_components.json", "vehicle.jpg", "last_uploaded_filename.txt",
386-
"tempcal_gyro.png", "tempcal_acc.png"]
386+
"tempcal_gyro.png", "tempcal_acc.png", self.vehicle_type + "_configuration_steps.json"]
387387
for file_name in specific_files:
388388
file_path = os_path.join(self.vehicle_dir, file_name)
389389
if os_path.exists(file_path):

0 commit comments

Comments
 (0)