fix: typo in init
This commit was merged in pull request #43.
This commit is contained in:
@@ -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}"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user