Another try at fixing #476

This commit is contained in:
Gina Häußge committed 2014-06-23 16:22:57 +02:00
1 parent ff22ab0026
commit 6a3241fa0b
3 files changed
+9 -17

No files matched your search

+3 -3
View File
@@ -1017,16 +1017,16 @@ class MachineCom(object):
if self.isStreaming():
self._sendCommand("M29")
filename = self._currentFile.getFilename()
remote = self._currentFile.getRemoteFilename()
payload = {
"local": self._currentFile.getLocalFilename(),
"remote": self._currentFile.getRemoteFilename(),
"remote": remote,
"time": self.getPrintTime()
}
self._currentFile = None
self._changeState(self.STATE_OPERATIONAL)
self._callback.mcFileTransferDone(filename)
self._callback.mcFileTransferDone(remote)
eventManager().fire(Events.TRANSFER_DONE, payload)
self.refreshSdFiles()
else: