Skip to content

Commit 49ae64f

Browse files
committed
update slots bug
1 parent 1dfbe15 commit 49ae64f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

weight_predict/weight_predict.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,10 +127,10 @@ def load_stock_file(file_path: Path = Path("stock.json")):
127127
with open(file_path) as file:
128128
json_data = json.load(file)
129129

130-
slots = list()
131130
shelves = list()
132131
# Iterate through each shelf
133132
for shelf_mac in json_data:
133+
slots = list()
134134
# Iterate through each slot
135135
for slot_i, json_slot in enumerate(json_data[shelf_mac]):
136136

0 commit comments

Comments
 (0)