Skip to content

Commit 1dfbe15

Browse files
committed
switch from bytes so it will work again
1 parent 47b6814 commit 1dfbe15

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

weight_predict/weight_predict.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,10 +109,10 @@ def predict_most_likely_item(self, weight_delta: float) -> List[Item]:
109109

110110
class Shelf:
111111

112-
_mac_address: bytes
112+
_mac_address: str
113113
slots: list[Slot]
114114

115-
def __init__(self, mac_address: bytes, slots: List[Slot] = None):
115+
def __init__(self, mac_address: str, slots: List[Slot] = None):
116116
self._mac_address = mac_address
117117
self.slots = list()
118118

0 commit comments

Comments
 (0)