From 00bef9270a3fc1dc6feac0e371dd98d571fd5718 Mon Sep 17 00:00:00 2001 From: daid Date: Tue, 3 Dec 2013 11:34:36 +0100 Subject: [PATCH] Fix the default timelaps filename. --- Cura/gui/printWindow.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cura/gui/printWindow.py b/Cura/gui/printWindow.py index 4160e326..4f94191a 100644 --- a/Cura/gui/printWindow.py +++ b/Cura/gui/printWindow.py @@ -361,7 +361,7 @@ class printWindow(wx.Frame): self.camPage.SetSizer(sizer) self.timelapsEnable = wx.CheckBox(self.camPage, -1, _("Enable timelapse movie recording")) - self.timelapsSavePath = wx.TextCtrl(self.camPage, -1, os.path.expanduser('~/timelaps_' + datetime.datetime.now().strftime('%Y-%m-%d_%H:%M') + '.mpg')) + self.timelapsSavePath = wx.TextCtrl(self.camPage, -1, os.path.expanduser('~/timelaps_' + datetime.datetime.now().strftime('%Y-%m-%d_%H-%M') + '.mpg')) sizer.Add(self.timelapsEnable, pos=(0, 0), span=(1, 2), flag=wx.EXPAND) sizer.Add(self.timelapsSavePath, pos=(1, 0), span=(1, 2), flag=wx.EXPAND) @@ -433,7 +433,7 @@ class printWindow(wx.Frame): self.directControlPanel.Enable( self.machineCom is not None and self.machineCom.isOperational() and not self.machineCom.isPrinting()) self.machineLogButton.Show(self.machineCom is not None and self.machineCom.isClosedOrError()) - if self.cam != None: + if self.cam is not None: for button in self.cam.buttons: button.Enable(self.machineCom is None or not self.machineCom.isPrinting()) -- 2.30.2