From d1859671d55a2e2c44592e2957732eed398c5ed2 Mon Sep 17 00:00:00 2001 From: Rhys McWilliams Date: Mon, 15 Dec 2025 15:06:46 +0200 Subject: [PATCH] cater for new mime-type argument from Cura 5.11.0 #54 as posted by JBombNZ --- X3GWriter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/X3GWriter.py b/X3GWriter.py index 020355a..cac60c9 100644 --- a/X3GWriter.py +++ b/X3GWriter.py @@ -27,7 +27,7 @@ class X3GWriter(MeshWriter): \param mode The output mode to use. This is ignored, since it has no meaning. X3G is always a binary file. """ - def write(self, stream, nodes, mode = MeshWriter.OutputMode.TextMode): + def write(self, stream, nodes, mode = MeshWriter.OutputMode.TextMode, mime_type=None): # Write the g-code to a temporary file. temp_gcode = None try: