dev camera

This commit is contained in:
sttentest 2025-09-16 17:18:00 +02:00
parent 03eadbe7d7
commit f298c084ab
5 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@
^PW256
^LL0144
^LS0
^FT148,125^BQN,2,4
^FT148,140^BQN,2,4
^FH\^FDLA,{PART}^FS
^FT19,40^A0N,23,21^FH\^FD{PART}^FS
^FT19,71^A0N,23,21^FH\^FDNum:{SN5}^FS

Binary file not shown.

View File

@ -80,7 +80,7 @@ class Barcode_Recipe_Selection(Test_Test):
else:
lines = data.splitlines()
#lines = data.split("-")
candidates = [i for i in lines if len(i) in(9,10,11,12,13)]
candidates = [i for i in lines if len(i) in(9,10,11,12,13,17,18)]
if len(candidates)>0:
# RECIPE CODE FOUND
self.recipe=candidates[-1]