Skip to content

Commit 5b13e1c

Browse files
author
Łukasz Stelmach
committed
util/agents/usb_hid_relay: return value from get_output()
Add missing return in get_output() to propagate value returned by a device specific function. Fixes: 7ab6240 ("util/agents/usb_hid_relay: fix concurrent access") Signed-off-by: Łukasz Stelmach <[email protected]>
1 parent f63dfd7 commit 5b13e1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

labgrid/util/agents/usb_hid_relay.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ def set_output(self, number, status):
100100

101101
def get_output(self, number):
102102
with self._claimed():
103-
self._get_output(number)
103+
return self._get_output(number)
104104

105105

106106
_relays = {}

0 commit comments

Comments
 (0)