diff options
Diffstat (limited to 'lecroy.py')
-rw-r--r-- | lecroy.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -165,7 +165,7 @@ class LeCroyScope(sock.Socket): # check endian data.seek(startpos + 34) - if struct.unpack('<'+Enum.packfmt, data.read(Enum.length)) == 0: + if struct.unpack('<'+Enum.packfmt, data.read(Enum.length))[0] == 0: endian = '>' wavedesc['little_endian'] = True np.little_endian = True |