Fixed formatting for pull request
parent
21c0b9aaa8
commit
ad81fb6282
|
@ -132,7 +132,7 @@ class showstl(wx.Window):
|
||||||
t=time.time()
|
t=time.time()
|
||||||
#print name
|
#print name
|
||||||
if name.lower().endswith(".stl"):
|
if name.lower().endswith(".stl"):
|
||||||
#Filter out the path, just show the STL filename.
|
#Filter out the path, just show the STL filename.
|
||||||
newname=re.match(r".*[/\\](.*?\.stl)", name.lower()).group(1)
|
newname=re.match(r".*[/\\](.*?\.stl)", name.lower()).group(1)
|
||||||
c=1
|
c=1
|
||||||
while newname in self.models:
|
while newname in self.models:
|
||||||
|
@ -302,3 +302,4 @@ if __name__ == '__main__':
|
||||||
main = stlwin()
|
main = stlwin()
|
||||||
main.Show()
|
main.Show()
|
||||||
app.MainLoop()
|
app.MainLoop()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue