Skip to content

Commit df232f5

Browse files
committedJul 7, 2015
lda driver: add error message when no device found
1 parent f9d8781 commit df232f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎artiq/devices/lda/driver.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def __init__(self, serial=None, product="LDA-102"):
110110
self._product_ids[self.product],
111111
self.serial)
112112
if not self._dev:
113-
raise IOError
113+
raise IOError("Device not found")
114114

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

0 commit comments

Comments
 (0)
Please sign in to comment.