diff --git a/assigning.py b/assigning.py index 813e381..0f533f0 100644 --- a/assigning.py +++ b/assigning.py @@ -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