diff --git a/addons/hw_scale/controllers/main.py b/addons/hw_scale/controllers/main.py index 8dc65392edb..d0425446f83 100644 --- a/addons/hw_scale/controllers/main.py +++ b/addons/hw_scale/controllers/main.py @@ -95,7 +95,7 @@ ADAMEquipmentProtocol = ScaleProtocol( parity=serial.PARITY_NONE, timeout=0.2, writeTimeout=0.2, - weightRegexp=r"\s*([0-9.]+)kg", # LABEL format 3 + KG in the scale settings, but Label 1/2 should work + weightRegexp=b"\s*([0-9.]+)kg", # LABEL format 3 + KG in the scale settings, but Label 1/2 should work statusRegexp=None, statusParse=None, commandTerminator=b"\r\n",