Skip to content

Commit

Permalink
Merge pull request #445 from quatrejuin/quatrejuin-patch-1
Browse files Browse the repository at this point in the history
Fix #420, fix the Node not exsting error for AcquisitionMode
  • Loading branch information
sunavlis authored May 8, 2024
2 parents eb878b4 + 497128e commit 383494e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/harvesters/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -2199,7 +2199,7 @@ def start(self, *, run_as_thread: bool = False) -> None:
# to acquire in the next session:
try:
acq_mode = self.remote_device.node_map.AcquisitionMode.value
except GenTL_GenericException as e:
except (GenTL_GenericException, AttributeError) as e:
num_images_to_acquire = -1
_logger.warning(e, exc_info=True)
else:
Expand Down

0 comments on commit 383494e

Please sign in to comment.