zaliczone

This commit is contained in:
shaaqu 2020-06-10 12:16:28 +02:00
parent fdeecfcbf0
commit 670f16b83f

View File

@ -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: