2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-25 03:08:27 +08:00

lda driver: add error message when no device found

This commit is contained in:
Yann Sionneau 2015-07-07 15:18:28 +02:00
parent f9d878119a
commit df232f5405

View File

@ -110,7 +110,7 @@ class Lda:
self._product_ids[self.product],
self.serial)
if not self._dev:
raise IOError
raise IOError("Device not found")
def close(self):
"""Close the device."""