Skip to content

Commit a1f0138

Browse files
committed
forgot to init dict
1 parent a0b3575 commit a1f0138

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
@@ -20,6 +20,7 @@ def __init__(self, starting_value: float = 0.0):
2020
self._previous_weight_value = starting_value
2121
self._items = list()
2222
self._items = db.get_items()
23+
self._items_by_id = dict()
2324

2425
for item in self._items:
2526
self._items_by_id[item.item_id] = item

0 commit comments

Comments
 (0)