Skip to content

Commit b275d32

Browse files
authored
Merge pull request #50 from Ultimaker/CES-3045_cheetah_gcode_flavor
[CES-3045] Add Cheetah GCode flavor
2 parents f48ba51 + 101dda4 commit b275d32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Charon/filetypes/GCodeFile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def parseHeader(stream: IO[bytes], *, prefix: str = "") -> Dict[str, Any]:
6767
stream.seek(0)
6868

6969
flavor = metadata.get("flavor", None)
70-
if flavor == "Griffin":
70+
if flavor in ("Griffin", "Cheetah"):
7171
if metadata["header_version"] != "0.1":
7272
raise InvalidHeaderException("Unsupported Griffin header version: {0}".format(metadata["header_version"]))
7373
GCodeFile.__validateGriffinHeader(metadata)

0 commit comments

Comments
 (0)