Fix broken sdcard upload success handling
Spotted by @devildant, thanks! Closes #3005
This commit is contained in:
1 parent
97f84f120c
commit
d4d5bed514
1 file changed
+1
-1
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user