gcode: mux command is already registered error print fixed

Signed-off-by: Petri Honkala <cruwaller@gmail.com>
This commit is contained in:
cruwaller 2018-06-01 22:44:52 +03:00 committed by KevinOConnor
parent 26378c2564
commit 404cd376b5
1 changed files with 1 additions and 1 deletions

View File

@ -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: