From ec508f522473de9bf33b2ce9923969d23dd1dd7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Sun, 1 Jun 2014 18:44:39 +0200 Subject: [PATCH] And another place I forgot to adapt to the new sd file list format --- src/octoprint/printer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/octoprint/printer.py b/src/octoprint/printer.py index 7b897ee7..e6abdb2d 100644 --- a/src/octoprint/printer.py +++ b/src/octoprint/printer.py @@ -546,7 +546,7 @@ class Printer(): self._streamingFinishedCallback = streamingFinishedCallback self.refreshSdFiles(blocking=True) - existingSdFiles = self._comm.getSdFiles() + existingSdFiles = map(lambda x: x[0], self._comm.getSdFiles()) remoteName = util.getDosFilename(filename, existingSdFiles) self._comm.startFileTransfer(absolutePath, filename, remoteName)