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):
|
def assigning(product_code_path, shelfs):
|
||||||
c = None
|
c = None
|
||||||
# code = product_code_path[0]
|
code = product_code_path[0]
|
||||||
code = recognizer(product_code_path[1])
|
# code = recognizer(product_code_path)
|
||||||
product_color = str(code[0]) + str(code[1])
|
product_color = str(code[0]) + str(code[1])
|
||||||
for shelf in shelfs:
|
for shelf in shelfs:
|
||||||
if shelf.color == product_color:
|
if shelf.color == product_color:
|
||||||
|
Loading…
Reference in New Issue
Block a user