Autoload skeined STL files in addition to stl files.

master
kliment 2011-07-24 11:14:12 +02:00
parent 8d2c609a1f
commit cf49a963b1
1 changed files with 1 additions and 1 deletions

View File

@ -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)