# HG changeset patch # User Daniel O'Connor # Date 1610076858 -37800 # Node ID 4558e5ccd775127948da17af6fa71002dc6d197c # Parent dd27521002a5e0f35c5a8708e39f0088308f9ee3 Honour timeout passed into ask() diff -r dd27521002a5 -r 4558e5ccd775 usb488.py --- a/usb488.py Fri Jan 08 14:04:09 2021 +1030 +++ b/usb488.py Fri Jan 08 14:04:18 2021 +1030 @@ -294,7 +294,7 @@ def ask(self, s, timeout = None): self.write(s) - return self.read(timeout = None) + return self.read(timeout = timeout) def isConnected(self): """Check if the device is present"""