mirror of
https://github.com/CopterExpress/clover.git
synced 2026-05-26 11:43:25 +00:00
aruco_gen: Open file in binary mode for Python3 compatibility
This commit is contained in:
@@ -88,6 +88,6 @@ def aruco_gen():
|
||||
off_x + marker.x, off_y + marker.y, off_z + marker.z,
|
||||
marker.roll, marker.pitch, marker.yaw)
|
||||
|
||||
output = open(source_world, 'w') if inplace else stdout
|
||||
output = open(source_world, 'wb') if inplace else stdout
|
||||
|
||||
save_world(world_tree, output)
|
||||
|
||||
Reference in New Issue
Block a user