Skip to content

Commit

Permalink
BUGFIX: do not copy tempcal_*.png files from template
Browse files Browse the repository at this point in the history
  • Loading branch information
amilcarlucas committed Aug 28, 2024
1 parent 1f2b2a5 commit beb4512
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 @@ -439,7 +439,7 @@ def directory_exists(directory: str) -> bool:
def copy_template_files_to_new_vehicle_dir(self, template_dir: str, new_vehicle_dir: str):
# Copy the template files to the new vehicle directory
for item in os_listdir(template_dir):
if item in ['vehicle.jpg', 'apm.pdef.xml']:
if item in ['vehicle.jpg', 'apm.pdef.xml', 'tempcal_acc.png', 'tempcal_gyro.png']:
continue
s = os_path.join(template_dir, item)
d = os_path.join(new_vehicle_dir, item)
Expand Down

0 comments on commit beb4512

Please sign in to comment.