Skip to content

Commit

Permalink
lda driver: add error message when no device found
Browse files Browse the repository at this point in the history
fallen committed Jul 7, 2015
1 parent f9d8781 commit df232f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion artiq/devices/lda/driver.py
Original file line number Diff line number Diff line change
@@ -110,7 +110,7 @@ def __init__(self, serial=None, product="LDA-102"):
self._product_ids[self.product],
self.serial)
if not self._dev:
raise IOError
raise IOError("Device not found")

def close(self):
"""Close the device."""

0 comments on commit df232f5

Please sign in to comment.