zaliczone
This commit is contained in:
parent
fdeecfcbf0
commit
670f16b83f
@ -5,8 +5,8 @@ from codes_recognizer.rocognizer import recognizer
|
||||
|
||||
def assigning(product_code_path, shelfs):
|
||||
c = None
|
||||
# code = product_code_path[0]
|
||||
code = recognizer(product_code_path[1])
|
||||
code = product_code_path[0]
|
||||
# code = recognizer(product_code_path)
|
||||
product_color = str(code[0]) + str(code[1])
|
||||
for shelf in shelfs:
|
||||
if shelf.color == product_color:
|
||||
|
Loading…
Reference in New Issue
Block a user