Skip to main content
Sign in
Snippets Groups Projects
Commit e98e0702 authored by Tommy Olofsson's avatar Tommy Olofsson
Browse files

Made the csv tool not follow without -f.

parent f065f1bb
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment