getting name

This commit is contained in:
shaaqu 2020-06-10 00:09:14 +02:00
parent 238355d785
commit 7eadd83803

View File

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