Commit 1a39881d authored by Guillaume Seguin's avatar Guillaume Seguin

Ignore off() argument

parent 3a673187
...@@ -1423,7 +1423,7 @@ class pronsole(cmd.Cmd): ...@@ -1423,7 +1423,7 @@ class pronsole(cmd.Cmd):
def do_off(self, l): def do_off(self, l):
self.off() self.off()
def off(self): def off(self, ignore = None):
if self.p.online: if self.p.online:
if self.p.printing: self.pause(None) if self.p.printing: self.pause(None)
self.onecmd("M84; motors off") self.onecmd("M84; motors off")
......
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