Fix command expansion for non-gcode commands
This commit is contained in:
1 parent
028425542f
commit
b04aff7d5e
1 file changed
+3
-1
@@ -2913,7 +2913,9 @@ class MachineCom(object):
|
||||
modified = True
|
||||
else:
|
||||
new_results.append((command, command_type, gcode, subcode, tags))
|
||||
modified = True
|
||||
else:
|
||||
new_results.append((command, command_type, gcode, subcode, tags))
|
||||
|
||||
if modified:
|
||||
if not new_results:
|
||||
# gcode handler returned None or empty list for all commands, so we'll stop here and return a full out empty result
|
||||
|
||||
Reference in new issue
Block a user