From e469a629cfb53ebb8f87da4997e9f0d0e30be89b Mon Sep 17 00:00:00 2001 From: daid303 Date: Tue, 1 Jan 2013 17:14:00 +0100 Subject: [PATCH] Add missing exception on error messages. --- Cura/util/machineCom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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:] -- 2.30.2