Skip to content

Commit

Permalink
Merge pull request OctoPrint#14 from imitation/master
Browse files Browse the repository at this point in the history
Bugfix: Bed target temp now shows in graph
  • Loading branch information
foosel committed Jan 7, 2013
2 parents 83bf6ef + ea6b109 commit 40a267e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion printer_webui/util/comm.py
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ def _sendCommand(self, cmd):
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))
Expand Down

0 comments on commit 40a267e

Please sign in to comment.