From d4d5bed5148319982a354695e16fb8ee6e0ab166 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Thu, 17 Jan 2019 10:49:48 +0100 Subject: [PATCH] Fix broken sdcard upload success handling Spotted by @devildant, thanks! Closes #3005 --- 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 bf02f048f..52aaec2ba 100644 --- a/src/octoprint/printer/standard.py +++ b/src/octoprint/printer/standard.py @@ -687,7 +687,7 @@ class Printer(PrinterInterface, comm.MachineComPrintCallback): remote=remote_filename, time=elapsed) eventManager().fire(Events.TRANSFER_DONE, payload) - if callable(self._streamingFailedCallback): + if callable(self._streamingFinishedCallback): self._streamingFinishedCallback(remote_filename, remote_filename, FileDestinations.SDCARD) def sd_upload_failed(local_filename, remote_filename, elapsed):