Commit bfb22d3d authored by Javier Quinteros's avatar Javier Quinteros

Rename conflicting variable (version).

parent b332a4e5
......@@ -171,12 +171,12 @@ class TDMS(object):
if tag.decode() != 'TDSm':
raise Exception('Tag is not TDSm!')
(version, self.__segmentOffset, self.__dataOffset) = \
(versionTDMS, self.__segmentOffset, self.__dataOffset) = \
struct.unpack('%ciQQ' % self.__endian, leadin[8:])
logs.debug((tag, ToCmask, version, self.__segmentOffset, self.__dataOffset))
logs.debug((tag, ToCmask, versionTDMS, self.__segmentOffset, self.__dataOffset))
if version != 4713:
if versionTDMS != 4713:
logs.warning('Version number is not 4713!')
if self.__segmentOffset == self.__FF64b:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment