supportRepetierTargetTemp being true is a too broad expression, also check for TargetExtr or TargetBed on line

See #486
This commit is contained in:
Gina Häußge 2014-05-29 13:04:51 +02:00
parent 4904c184f7
commit 778f9039fb

View file

@ -665,7 +665,7 @@ class MachineCom(object):
t = time.time()
self._heatupWaitTimeLost = t - self._heatupWaitStartTime
self._heatupWaitStartTime = t
elif supportRepetierTargetTemp:
elif supportRepetierTargetTemp and ('TargetExtr' in line or 'TargetBed' in line):
matchExtr = self._regex_repetierTempExtr.match(line)
matchBed = self._regex_repetierTempBed.match(line)