Fix for #3655 - always print after gcode send

This commit is contained in:
Gege2B 2017-01-08 22:46:48 +01:00
parent 586d95b28a
commit f4bf6fef92

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,
],
);