Update printer_webui/util/comm.py

Enables bed target temperature display.
This commit is contained in:
Thomas Sanladerer committed 2013-01-07 18:54:49 +01:00
1 parent 83bf6efb1d
commit ea6b109dec
1 file changed
+1 -1
+1 -1
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))