mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-13 02:19:01 +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{
|
||||
# slurp the file we would send into a string - should be someplace to reference this but could not find it?
|
||||
local $/=undef;
|
||||
open my ($gch,$path);
|
||||
open (my $gch,$path);
|
||||
my $gcode=<$gch>;
|
||||
close($gch);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user