Add Repetier's Format Error to exception whitelist
This commit is contained in:
1 parent
84968272aa
commit
d0373799ae
1 file changed
+1
-1
@@ -1375,7 +1375,7 @@ class MachineCom(object):
|
|||||||
if self._regex_minMaxError.match(line):
|
if self._regex_minMaxError.match(line):
|
||||||
line = line.rstrip() + self._readline()
|
line = line.rstrip() + self._readline()
|
||||||
|
|
||||||
if 'line number' in line.lower() or 'checksum' in line.lower() or 'expected line' in line.lower():
|
if 'line number' in line.lower() or 'checksum' in line.lower() or 'format error' in line.lower() or 'expected line' in line.lower():
|
||||||
#Skip the communication errors, as those get corrected.
|
#Skip the communication errors, as those get corrected.
|
||||||
self._lastCommError = line[6:] if line.startswith("Error:") else line[2:]
|
self._lastCommError = line[6:] if line.startswith("Error:") else line[2:]
|
||||||
pass
|
pass
|
||||||
|
|||||||
Reference in new issue
Block a user