Skip to content

Commit b3ef397

Browse files
committed
Add items correctly
1 parent 49ae64f commit b3ef397

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

weight_predict/weight_predict.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ def load_stock_file(file_path: Path = Path("stock.json")):
140140
item = db.get_item(item_id=json_item["id"])
141141
item.quantity = json_item["quantity"]
142142
print("Loaded data from stock store")
143+
items.append(item)
143144

144145
# Create slot with items
145146
slot = Slot(items=items)

0 commit comments

Comments
 (0)