Ocliam fixed this a typo or something

This commit is contained in:
2025-07-16 12:06:06 +01:00
parent 23aea1777f
commit 3d8bcc0efb

View File

@ -130,7 +130,7 @@ class serialShocker(Expansion):
super().__init__(ID, expansionsManager)
if self.config["COM_port"] not in serialShocker._api:
self._assignApi()
self.shocker = serialShocker._api[self.config["COM_port"]].shocker(["shocker_ID"])
self.shocker = serialShocker._api[self.config["COM_port"]].shocker(self.config["shocker_ID"])
def _assignApi(self):
from pishock import SerialAPI