From 23662b064f559ffe0e6718ef935c10863be40a6f Mon Sep 17 00:00:00 2001 From: appel_c Date: Tue, 28 Jul 2026 10:32:12 +0200 Subject: [PATCH] fix: typo in init --- tomcat_bec/devices/unsupported_legacy/psi_detector_base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tomcat_bec/devices/unsupported_legacy/psi_detector_base.py b/tomcat_bec/devices/unsupported_legacy/psi_detector_base.py index 59146dc..5f011ed 100644 --- a/tomcat_bec/devices/unsupported_legacy/psi_detector_base.py +++ b/tomcat_bec/devices/unsupported_legacy/psi_detector_base.py @@ -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}" ) -- 2.54.0