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
1 changed files with 1 additions and 1 deletions

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."""