From: daid303 Date: Tue, 1 Jan 2013 16:14:00 +0000 (+0100) Subject: Add missing exception on error messages. X-Git-Tag: 13.03~134 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=e469a629cfb53ebb8f87da4997e9f0d0e30be89b;p=cura.git Add missing exception on error messages. --- diff --git a/Cura/util/machineCom.py b/Cura/util/machineCom.py index a4fb5b5b..a0754a25 100644 --- a/Cura/util/machineCom.py +++ b/Cura/util/machineCom.py @@ -319,7 +319,7 @@ class MachineCom(object): if re.match('Error:[0-9]\n', line): line = line.rstrip() + self._readline() #Skip the communication errors, as those get corrected. - if 'checksum mismatch' in line or 'Line Number is not Last Line Number' in line or 'No Line Number with checksum' in line: + if 'checksum mismatch' in line or 'Line Number is not Last Line Number' in line or 'No Line Number with checksum' in line or 'No Checksum with line number' in line: pass elif not self.isError(): self._errorValue = line[6:]