We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d98ca39 commit 84a92eeCopy full SHA for 84a92ee
FlyCapture2Camera/blacs_workers.py
@@ -350,6 +350,9 @@ class FlyCapture2CameraWorker(IMAQdxCameraWorker):
350
def get_attributes_as_dict(self, visibility_level):
351
"""Return a dict of the attributes of the camera for the given visibility
352
level"""
353
- return self.camera.get_attributes(visibility_level)
+ if self.mock:
354
+ return IMAQdxCameraWorker.get_attributes_as_dict(self,visibility_level)
355
+ else:
356
+ return self.camera.get_attributes(visibility_level)
357
358
0 commit comments