fix: typo in init
CI for tomcat_bec / test (pull_request) Successful in 49s
CI for tomcat_bec / test (push) Successful in 47s

This commit was merged in pull request #43.
This commit is contained in:
2026-07-28 10:32:12 +02:00
parent 155f6beca3
commit 23662b064f
@@ -368,7 +368,7 @@ class PSIDetectorBase(Device):
self.scaninfo = None
self.filewriter = None
if not issubclass(self.custom_prepare_cls, CustomPrepare):
if not issubclass(self.custom_prepare_cls, CustomDetectorMixin):
raise BECDeviceBaseError(
f"Custom prepare class must be subclass of CustomDetectorMixin, provided: {self.custom_prepare_cls}"
)