Commit cf49a963 authored by kliment's avatar kliment

Autoload skeined STL files in addition to stl files.

parent 8d2c609a
......@@ -679,7 +679,7 @@ class PronterWindow(wx.Frame,pronsole.pronsole):
time.sleep(0.1)
fn=self.filename
try:
self.filename=self.filename.replace(".stl","_export.gcode")
self.filename=self.filename.replace(".stl","_export.gcode").replace(".STL","_export.gcode")
self.f=[i.replace("\n","").replace("\r","") for i in open(self.filename)]
if self.p.online:
wx.CallAfter(self.printbtn.Enable)
......
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