chiark / gitweb /
Update on the 3D window, now with nice icons. Also added some more error logging...
[cura.git] / Cura / util / gcodeInterpreter.py
index 6c815d3b459000020840ee7e4282e63eb17311cc..901595c74f657acef0e06d702e3d4e82a4a23a0a 100644 (file)
@@ -248,6 +248,8 @@ class gcode(object):
                                                pass
                                        elif M == 113:  #Extruder PWM (these should not be in the final GCode, but they are)
                                                pass
+                                       elif M == 117:  #LCD message
+                                               pass
                                        elif M == 140:  #Set bed temperature
                                                pass
                                        elif M == 190:  #Set bed temperature & wait
@@ -281,7 +283,7 @@ class gcode(object):
                if code not in self.regMatch:
                        self.regMatch[code] = re.compile(code + '([^\s]+)')
                m = self.regMatch[code].search(line)
-               if m == None:
+               if m is None:
                        return None
                try:
                        return float(m.group(1))