summaryrefslogtreecommitdiff
path: root/addons/hw_scale/controllers/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'addons/hw_scale/controllers/main.py')
-rw-r--r--addons/hw_scale/controllers/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/hw_scale/controllers/main.py b/addons/hw_scale/controllers/main.py
index 162ab7a866d..ed8f92c73ea 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",