From 37f3396be3d6ce5f4451d5747ff67546fe56d2b7 Mon Sep 17 00:00:00 2001 From: Unknown <8700106+devildant@users.noreply.github.com> Date: Tue, 18 Dec 2018 19:32:31 +0100 Subject: [PATCH] try fix default function --- src/octoprint/printer/standard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/octoprint/printer/standard.py b/src/octoprint/printer/standard.py index ddef2a3b6..e5f8eaeb2 100644 --- a/src/octoprint/printer/standard.py +++ b/src/octoprint/printer/standard.py @@ -665,7 +665,7 @@ class Printer(PrinterInterface, comm.MachineComPrintCallback): self._logger.error("No connection to printer or printer is busy") return - def default_add_sd_file(self, printer, filename, remoteName, absolutePath, on_success=None, on_failure=None, *args, **kwargs): + def default_add_sd_file(printer, filename, remoteName, absolutePath, on_success, on_failure): self._create_estimator("stream") self._comm.startFileTransfer(absolutePath, filename, "/" + remoteName, special=not valid_file_type(filename, "gcode"),