Browse Source

Fix aliasing bug in update_meshes.py

pull/40/merge
Binit Shah 2 years ago
committed by GitHub
parent
commit
938d1cff5f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      stretch_description/meshes/update_meshes.py

+ 2
- 1
stretch_description/meshes/update_meshes.py View File

@ -2,7 +2,8 @@
import os
from os.path import exists
import stretch_body.hello_utils as hu
if exists(hello_utils.get_fleet_directory()+'stretch_user_params.yaml'):
if exists(hu.get_fleet_directory()+'stretch_user_params.yaml'):
batch_name = hu.read_fleet_yaml('stretch_user_params.yaml')['robot']['batch_name'].lower()
else:
batch_name = hu.read_fleet_yaml('stretch_re1_factory_params.yaml')['robot']['batch_name'].lower()

Loading…
Cancel
Save