Skip to content

Commit

Permalink
IMPROVEMENT: also .zip the "_configuration_steps.json" file if it exists
Browse files Browse the repository at this point in the history
  • Loading branch information
amilcarlucas committed Aug 2, 2024
1 parent d4ece5c commit 85706ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MethodicConfigurator/backend_filesystem.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 85706ba

Please sign in to comment.