LogAnalyzer: Default to automatic log format detection.

This commit is contained in:
Aaron Curtis 2014-07-08 10:04:25 -10:00 committed by Craig Elder
parent c6d783409c
commit 0f5360fefa
1 changed files with 1 additions and 1 deletions

View File

@ -433,7 +433,7 @@ class DataflashLog(object):
else:
return ""
def read(self, logfile, format, ignoreBadlines=False):
def read(self, logfile, format="auto", ignoreBadlines=False):
'''returns on successful log read (including bad lines if ignoreBadlines==True), will throw an Exception otherwise'''
# TODO: dataflash log parsing code is pretty hacky, should re-write more methodically
self.filename = logfile