base, ext = os.path.splitext(base)
mesh_out = open_output(os.path.join(path, base+".mesh"))
mesh = mesh_export.export(context, mesh_out)
- out_file.write("mesh", "\""+base+".mesh\"")
+ out_file.write("mesh", '"{}.mesh"'.format(base))
else:
out_file.begin("mesh")
mesh = mesh_export.export(context, out_file)