Update printer_webui/util/comm.py

Enables bed target temperature display.
master
Thomas Sanladerer 2013-01-07 18:54:49 +01:00
parent 83bf6efb1d
commit ea6b109dec
1 changed files with 1 additions and 1 deletions

View File

@ -469,7 +469,7 @@ class MachineCom(object):
pass
if 'M140' in cmd or 'M190' in cmd:
try:
self._bedTargetTemp = float(re.search('S([0-9]+)').group(1))
self._bedTargetTemp = float(re.search('S([0-9]+)', cmd).group(1))
except:
pass
self._log('Send: %s' % (cmd))