Commit 77c4428e authored by Guillaume Seguin's avatar Guillaume Seguin

1 => True

parent 4e1bde1e
...@@ -511,7 +511,7 @@ class PronterWindow(MainWindow, pronsole.pronsole): ...@@ -511,7 +511,7 @@ class PronterWindow(MainWindow, pronsole.pronsole):
def do_editgcode(self, e = None): def do_editgcode(self, e = None):
if self.filename is not None: if self.filename is not None:
MacroEditor(self.filename, [line.raw for line in self.fgcode], self.doneediting, 1) MacroEditor(self.filename, [line.raw for line in self.fgcode], self.doneediting, True)
def doneediting(self, gcode): def doneediting(self, gcode):
open(self.filename, "w").write("\n".join(gcode)) open(self.filename, "w").write("\n".join(gcode))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment