mirror of
https://github.com/ARM-software/devlib.git
synced 2025-01-31 02:00:45 +00:00
instrument/daq: Fix error message
This commit is contained in:
parent
2bf4d8a433
commit
2a934288eb
@ -64,7 +64,7 @@ class DaqInstrument(Instrument):
|
||||
devices = self.daq_client.list_devices()
|
||||
if device_id not in devices:
|
||||
msg = 'Device "{}" is not found on the DAQ server. Available devices are: "{}"'
|
||||
raise ValueError(msg.format(device_id, ', '.join(result.data)))
|
||||
raise ValueError(msg.format(device_id, ', '.join(devices)))
|
||||
except Exception as e:
|
||||
raise HostError('Problem querying DAQ server: {}'.format(e))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user