Skip to content

Commit

Permalink
TI.FIX: fix put to queue in write method
Browse files Browse the repository at this point in the history
  • Loading branch information
anacso17 committed Sep 5, 2023
1 parent 4563ff9 commit 239e59f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion as-ti-control/as_ti_control/as_ti_control.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ def read(self, reason):
def write(self, reason, value):
if not self._isValid(reason, value):
return False
self._write_queue.put(self._write, (reason, value))
self._write_queue.put(
(self._write, (reason, value)), block=False)
return True

def _write(self, reason, value):
Expand Down

0 comments on commit 239e59f

Please sign in to comment.