mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 13:49:00 +08:00
monitor does not show "Build Plate"
bed_temperature_matches : error in temperature search expression
This commit is contained in:
parent
76d9503777
commit
e56a97bfa2
@ -265,7 +265,7 @@ class USBPrinterOutputDevice(PrinterOutputDevice):
|
||||
if match[2]:
|
||||
extruder.updateTargetHotendTemperature(float(match[2]))
|
||||
|
||||
bed_temperature_matches = re.findall(b"B: ?(\d+\.?\d*) ?\/?(\d+\.?\d*) ?", line)
|
||||
bed_temperature_matches = re.findall(b"B: ?(\d+\.?\d*) ?\/?(\d+\.?\d*)?", line)
|
||||
if bed_temperature_matches:
|
||||
match = bed_temperature_matches[0]
|
||||
if match[0]:
|
||||
|
Loading…
x
Reference in New Issue
Block a user