gcode: mux command is already registered error print fixed
Signed-off-by: Petri Honkala <cruwaller@gmail.com>
This commit is contained in:
parent
26378c2564
commit
404cd376b5
|
@ -83,7 +83,7 @@ class GCodeParser:
|
||||||
cmd, key, value, prev_key))
|
cmd, key, value, prev_key))
|
||||||
if value in prev_values:
|
if value in prev_values:
|
||||||
raise error("mux command %s %s %s already registered (%s)" % (
|
raise error("mux command %s %s %s already registered (%s)" % (
|
||||||
cmd, key, value))
|
cmd, key, value, prev_values))
|
||||||
prev_values[value] = func
|
prev_values[value] = func
|
||||||
def set_move_transform(self, transform):
|
def set_move_transform(self, transform):
|
||||||
if self.move_transform is not None:
|
if self.move_transform is not None:
|
||||||
|
|
Loading…
Reference in New Issue