]> git.tdb.fi Git - libs/gl.git/blobdiff - blender/io_mspgl/export_object.py
Minor tweaks to the Blender exporter
[libs/gl.git] / blender / io_mspgl / export_object.py
index 7b9ee6a44cfb2c8eb888c237b7e1579e358c1fff..aad1c0876a40823bca2f1d4bc3ce5b7fe125ba41 100644 (file)
@@ -33,7 +33,7 @@ class ObjectExporter:
                        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)