Commit e47bc618 authored by Guillaume Seguin's avatar Guillaume Seguin

Return [line.raw] instead of line.raw in split_raw

parent 754780d5
......@@ -71,7 +71,7 @@ def split(line):
line.command = line.raw
line.is_move = False
logging.warning(_("raw G-Code line \"%s\" could not be parsed") % line.raw)
return line.raw
return [line.raw]
command = split_raw[0] if split_raw[0][0] != "n" else split_raw[1]
line.command = command[0].upper() + command[1]
line.is_move = line.command in move_gcodes
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment