Browse Source

LogAnalyzer: Fix handling of the -f format option (bin, log, auto)

Previously this option was ignored.
master
Kevin Hester 11 years ago committed by Craig Elder
parent
commit
097a3b23e6
  1. 2
      Tools/LogAnalyzer/LogAnalyzer.py

2
Tools/LogAnalyzer/LogAnalyzer.py

@ -222,7 +222,7 @@ def main(): @@ -222,7 +222,7 @@ def main():
# load the log
startTime = time.time()
logdata = DataflashLog.DataflashLog(args.logfile.name, format='auto', ignoreBadlines=args.skip_bad) # read log
logdata = DataflashLog.DataflashLog(args.logfile.name, format=args.format, ignoreBadlines=args.skip_bad) # read log
endTime = time.time()
if args.profile:
print "Log file read time: %.2f seconds" % (endTime-startTime)

Loading…
Cancel
Save