Update printer_webui/util/comm.py
Enables bed target temperature display.
This commit is contained in:
1 parent
83bf6efb1d
commit
ea6b109dec
1 file changed
+1
-1
@@ -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))
|
||||
|
||||
Reference in new issue
Block a user