replaced os.system approach with os.mkdir
This commit is contained in:
parent
97e40a2aed
commit
9e0e04aae4
|
@ -75,7 +75,8 @@ def tutorial(args):
|
|||
lidar = None
|
||||
|
||||
try:
|
||||
os.system('mkdir -p _out' if os.name != 'nt' else 'if not exist _out mkdir _out')
|
||||
if not os.path.isdir('_out'):
|
||||
os.mkdir('_out')
|
||||
# Search the desired blueprints
|
||||
vehicle_bp = bp_lib.filter("vehicle.lincoln.mkz_2017")[0]
|
||||
camera_bp = bp_lib.filter("sensor.camera.rgb")[0]
|
||||
|
|
Loading…
Reference in New Issue