Merge pull request #3659 from gege2b/OctoprintUI

Fix for #3655 - always print after gcode send
This commit is contained in:
Alessandro Ranellucci 2017-01-11 19:07:38 +01:00 committed by GitHub
commit 88387634eb

View File

@ -1399,7 +1399,7 @@ sub send_gcode {
# OctoPrint doesn't like Windows paths so we use basename()
# Also, since we need to read from filesystem we process it through encode_path()
file => [ $path, basename($path) ],
print => $self->{send_gcode_file} ? 1 : 0,
print => $self->{send_gcode_file_print} ? 1 : 0,
],
);