chiark / gitweb /
Add missing exception on error messages.
authordaid303 <daid303@gmail.com>
Tue, 1 Jan 2013 16:14:00 +0000 (17:14 +0100)
committerdaid303 <daid303@gmail.com>
Tue, 1 Jan 2013 16:14:00 +0000 (17:14 +0100)
Cura/util/machineCom.py

index a4fb5b5bca80c72a2475614e29a66113897e4743..a0754a251f85617edb85752225d162eddfe4d069 100644 (file)
@@ -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:]