Fixed exception triggered on analysis abort
This commit is contained in:
1 parent
49cd1ffbd6
commit
8d90ad26ba
1 file changed
+1
-1
@@ -77,7 +77,7 @@ class gcode(object):
|
||||
currentLayer.append(currentPath)
|
||||
for line in gcodeFile:
|
||||
if self._abort:
|
||||
raise StopIteration
|
||||
raise AnalysisAborted()
|
||||
if type(line) is tuple:
|
||||
line = line[0]
|
||||
if self.progressCallback != None:
|
||||
|
||||
Reference in new issue
Block a user