chiark / gitweb /
Bugfix - Missing )
authorFerdi van der Werf <efcm@vdwerf.eu>
Tue, 24 Apr 2012 18:08:37 +0000 (20:08 +0200)
committerFerdi van der Werf <efcm@vdwerf.eu>
Tue, 24 Apr 2012 18:08:37 +0000 (20:08 +0200)
Cura/gui/projectPlanner.py

index 19000aac6bfd012dd1df8d577402414bd0e4cc2a..0d33b536af8fc192914764101503769f14d54172 100644 (file)
@@ -707,11 +707,11 @@ class ProjectSliceProgressWindow(wx.Frame):
                        \r
                        if action == self.actionList[0]:\r
                                resultFile.write(';TYPE:CUSTOM\n')\r
-                               resultFile.write(profile.getAlterationFileContents('start.gcode').encode('utf-8')\r
+                               resultFile.write(profile.getAlterationFileContents('start.gcode').encode('utf-8'))\r
                        else:\r
                                #reset the extrusion length, and move to the next object center.\r
                                resultFile.write(';TYPE:CUSTOM\n')\r
-                               resultFile.write(profile.getAlterationFileContents('nextobject.gcode').encode('utf-8')\r
+                               resultFile.write(profile.getAlterationFileContents('nextobject.gcode').encode('utf-8'))\r
                        resultFile.write(';PRINTNR:%d\n' % self.actionList.index(action))\r
                        profile.loadGlobalProfileFromString(oldProfile)\r
                        \r
@@ -727,7 +727,7 @@ class ProjectSliceProgressWindow(wx.Frame):
                        wx.CallAfter(self.progressGauge2.SetValue, self.actionList.index(action) + 1)\r
                \r
                resultFile.write(';TYPE:CUSTOM\n')\r
-               resultFile.write(profile.getAlterationFileContents('end.gcode').encode('utf-8')\r
+               resultFile.write(profile.getAlterationFileContents('end.gcode').encode('utf-8'))\r
                resultFile.close()\r
                self.abort = True\r
                wx.CallAfter(self.abortButton.SetLabel, 'Close')\r