Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tommy Olofsson
LabComm
Commits
e98e0702
Commit
e98e0702
authored
Feb 05, 2015
by
Tommy Olofsson
Browse files
Made the csv tool not follow without -f.
parent
f065f1bb
Changes
1
Show whitespace changes
Inline
Side-by-side
tools/lc2csv.py
View file @
e98e0702
...
...
@@ -146,7 +146,10 @@ def main(main_args):
current
=
{}
type_
=
{}
file_
=
open
(
args
.
elc
)
if
args
.
follow
:
reader
=
FollowingReader
(
file_
,
args
.
interval
,
args
.
timeout
)
else
:
reader
=
Reader
(
file_
)
d
=
labcomm
.
Decoder
(
reader
)
while
True
:
try
:
...
...
Write
Preview
Supports
Markdown
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