diff --git a/src/octoprint/util/comm.py b/src/octoprint/util/comm.py index 4292d2cf..a96534f0 100644 --- a/src/octoprint/util/comm.py +++ b/src/octoprint/util/comm.py @@ -648,6 +648,7 @@ class MachineCom(object): self._currentFile = StreamingGcodeFileInformation(filename, localFilename, remoteFilename) self._currentFile.start() + self.resetLineNumbers() self.sendCommand("M28 %s" % remoteFilename) eventManager().fire(Events.TRANSFER_STARTED, {"local": localFilename, "remote": remoteFilename}) self._callback.on_comm_file_transfer_started(remoteFilename, self._currentFile.getFilesize())