mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-21 16:18:29 -04:00
LogAnalyzer: There is no self.logfile, so this must be self.filename.
This commit is contained in:
parent
fc79a06b9f
commit
c6d783409c
@ -455,7 +455,7 @@ class DataflashLog(object):
|
||||
head = f.read(4)
|
||||
f.seek(0)
|
||||
else:
|
||||
raise ValueError("Unknown log format for {}: {}".format(self.logfile, format))
|
||||
raise ValueError("Unknown log format for {}: {}".format(self.filename, format))
|
||||
|
||||
if head == '\xa3\x95\x80\x80':
|
||||
numBytes, lineNumber = self.read_binary(f, ignoreBadlines)
|
||||
|
Loading…
Reference in New Issue
Block a user