Skip to content
Snippets Groups Projects
Commit 84c6e07c authored by TSC21's avatar TSC21 Committed by Lorenz Meier
Browse files

uorb_to_ros_msgs: only create dir if it doesn't exist

parent a07bcc49
No related branches found
No related tags found
No related merge requests found
......@@ -52,7 +52,8 @@ __status__ = 'Development'
input_dir = sys.argv[1]
output_dir = sys.argv[2]
os.mkdir(os.path.abspath(output_dir))
if not os.path.exists(os.path.abspath(output_dir)):
os.mkdir(os.path.abspath(output_dir))
msg_list = list()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment