diff options
author | Anthony LaTorre <devnull@localhost> | 2014-11-29 09:17:23 -0600 |
---|---|---|
committer | Anthony LaTorre <devnull@localhost> | 2014-11-29 09:17:23 -0600 |
commit | aee3fc44045e9ae7c2fe73d80adddfb51fb83f0b (patch) | |
tree | 8e6548605508c49f91b671be91ff2cd822a26ce0 | |
parent | f94503b5112a29fc796f348bd08546974a717f56 (diff) | |
download | lecrunch-aee3fc44045e9ae7c2fe73d80adddfb51fb83f0b.tar.gz lecrunch-aee3fc44045e9ae7c2fe73d80adddfb51fb83f0b.tar.bz2 lecrunch-aee3fc44045e9ae7c2fe73d80adddfb51fb83f0b.zip |
-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 |