Skip to content

Commit

Permalink
Resolve issue #130
Browse files Browse the repository at this point in the history
* Fixed some defects that found during the debug session with Marco.
  • Loading branch information
kazunarikudo committed Mar 28, 2020
1 parent 32a0d5b commit 87ae986
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/harvesters/core.py
Expand Up @@ -1787,8 +1787,7 @@ def timeout_for_image_acquisition(self):

@timeout_for_image_acquisition.setter
def timeout_for_image_acquisition(self, ms):
with self.thread_image_acquisition:
self._timeout_for_image_acquisition = ms
self._timeout_for_image_acquisition = ms

@property
def thread_image_acquisition(self):
Expand Down Expand Up @@ -2201,8 +2200,8 @@ def fetch_buffer(self, *, timeout=0, is_raw=False, cycle_s=None):
)
)

# Get the latest buffer:
_buffer = event_manager.buffer
# Get the latest buffer:
_buffer = event_manager.buffer

if _buffer:
#
Expand Down

0 comments on commit 87ae986

Please sign in to comment.