getting name
This commit is contained in:
parent
238355d785
commit
7eadd83803
@ -13,6 +13,8 @@ def assigning(product_code_path, shelfs):
|
||||
shelf.add_product(code)
|
||||
c = shelf.get_field()
|
||||
|
||||
name = product_code_path[1].split("/")
|
||||
name = name[2][:len(name[2])-4]
|
||||
|
||||
print("Product:", product_code_path, "is on", c.x, c.y)
|
||||
return c
|
||||
|
Loading…
Reference in New Issue
Block a user