Commit 62879f00 authored by Guillaume Seguin's avatar Guillaume Seguin

Fix slicing #511

parent d9018826
...@@ -1165,7 +1165,7 @@ class pronsole(cmd.Cmd): ...@@ -1165,7 +1165,7 @@ class pronsole(cmd.Cmd):
if l[0] == "set": if l[0] == "set":
settings = 1 settings = 1
else: else:
self.log(_("Skeining file: %s") % l[0]) self.log(_("Slicing file: %s") % l[0])
if not(os.path.exists(l[0])): if not(os.path.exists(l[0])):
self.logError(_("File not found!")) self.logError(_("File not found!"))
return return
...@@ -1176,7 +1176,6 @@ class pronsole(cmd.Cmd): ...@@ -1176,7 +1176,6 @@ class pronsole(cmd.Cmd):
run_command(command, blocking = True) run_command(command, blocking = True)
else: else:
command = self.settings.slicecommand command = self.settings.slicecommand
self.log(_("Slicing: ") % command)
stl_name = l[0] stl_name = l[0]
gcode_name = stl_name.replace(".stl", "_export.gcode").replace(".STL", "_export.gcode") gcode_name = stl_name.replace(".stl", "_export.gcode").replace(".STL", "_export.gcode")
run_command(command, run_command(command,
......
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