mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-14 05:25:58 +08:00
Corrected open() syntax. Fixes #4128, thanks to @rob-miller for the heads-up.
This commit is contained in:
parent
29d2159e29
commit
5ae6a7fe3e
@ -2228,7 +2228,7 @@ sub send_gcode {
|
|||||||
}else{
|
}else{
|
||||||
# slurp the file we would send into a string - should be someplace to reference this but could not find it?
|
# slurp the file we would send into a string - should be someplace to reference this but could not find it?
|
||||||
local $/=undef;
|
local $/=undef;
|
||||||
open my ($gch,$path);
|
open (my $gch,$path);
|
||||||
my $gcode=<$gch>;
|
my $gcode=<$gch>;
|
||||||
close($gch);
|
close($gch);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user