From 4b7cec28b926aab2d7b0ded080bf75854dfd8635 Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Mon, 29 Dec 2014 20:34:33 +0100 Subject: [PATCH] Fix to Octoprint upload. #2465 --- lib/Slic3r/GUI/Plater.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Slic3r/GUI/Plater.pm b/lib/Slic3r/GUI/Plater.pm index f14da581d6..46aa551390 100644 --- a/lib/Slic3r/GUI/Plater.pm +++ b/lib/Slic3r/GUI/Plater.pm @@ -1115,7 +1115,7 @@ sub send_gcode { Content_Type => 'form-data', 'X-Api-Key' => $self->{config}->octoprint_apikey, Content => [ - fn => [$self->{send_gcode_file}], + file => [$self->{send_gcode_file}], ], );