Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Javier Quinteros
dastools
Commits
bfb22d3d
Commit
bfb22d3d
authored
Jul 05, 2019
by
Javier Quinteros
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename conflicting variable (version).
parent
b332a4e5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
dasscripts/dasconv.py
dasscripts/dasconv.py
+3
-3
No files found.
dasscripts/dasconv.py
View file @
bfb22d3d
...
...
@@ -171,12 +171,12 @@ class TDMS(object):
if
tag
.
decode
()
!=
'TDSm'
:
raise
Exception
(
'Tag is not TDSm!'
)
(
version
,
self
.
__segmentOffset
,
self
.
__dataOffset
)
=
\
(
version
TDMS
,
self
.
__segmentOffset
,
self
.
__dataOffset
)
=
\
struct
.
unpack
(
'%ciQQ'
%
self
.
__endian
,
leadin
[
8
:])
logs
.
debug
((
tag
,
ToCmask
,
version
,
self
.
__segmentOffset
,
self
.
__dataOffset
))
logs
.
debug
((
tag
,
ToCmask
,
version
TDMS
,
self
.
__segmentOffset
,
self
.
__dataOffset
))
if
version
!=
4713
:
if
version
TDMS
!=
4713
:
logs
.
warning
(
'Version number is not 4713!'
)
if
self
.
__segmentOffset
==
self
.
__FF64b
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment