Merge remote-tracking branch 'origin/master'

This commit is contained in:
edo-neo 2024-12-02 12:24:13 +01:00
commit 099a07b08b
2 changed files with 2 additions and 1 deletions

View File

@ -16,6 +16,7 @@ screwdriver: absent
#digital_io: present
digital_io_flush_blow: present
second_leak_test: present
barcode_recipe_selection: present
external_flush_blow: present # EXTERNAL BOX CONTROLLING MULTI-CHANNEL TEST (IF PRESENT), BLOW-CLEANING AND EXTERNAL FLUSH
dual_channel: present
#fixture_id: present

View File

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