Fix broken sdcard upload success handling

Spotted by @devildant, thanks!

Closes #3005
This commit is contained in:
Gina Häußge committed 2019-01-17 10:49:48 +01:00
1 parent 97f84f120c
commit d4d5bed514
1 file changed
+1 -1
+1 -1
View File
@@ -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):