Repetier firmware reports fatal errors with another prefix
This commit is contained in:
1 parent
bbbe85f737
commit
f88147003c
1 file changed
+5
@@ -2518,6 +2518,11 @@ class MachineCom(object):
|
||||
|
||||
lower_line = line.lower()
|
||||
|
||||
if lower_line.startswith("fatal:"):
|
||||
# hello Repetier firmware -_-
|
||||
line = "Error:" + line
|
||||
lower_line = line.lower()
|
||||
|
||||
if lower_line.startswith('error:') or line.startswith('!!'):
|
||||
if regex_minMaxError.match(line):
|
||||
# special delivery for firmware that goes "Error:x\n: Extruder switched off. MAXTEMP triggered !\n"
|
||||
|
||||
Reference in new issue
Block a user