autotest: fixed dump of file based logs
This commit is contained in:
parent
02ed37e750
commit
9e92a60cfa
@ -54,7 +54,7 @@ def dump_logs(atype):
|
|||||||
else:
|
else:
|
||||||
numlogs = int(mavproxy.match.group(1))
|
numlogs = int(mavproxy.match.group(1))
|
||||||
for i in range(numlogs):
|
for i in range(numlogs):
|
||||||
mavproxy.expect("Log (\d+),")
|
mavproxy.expect("Log (\d+)")
|
||||||
lognums.append(int(mavproxy.match.group(1)))
|
lognums.append(int(mavproxy.match.group(1)))
|
||||||
mavproxy.expect("Log]")
|
mavproxy.expect("Log]")
|
||||||
for i in range(numlogs):
|
for i in range(numlogs):
|
||||||
|
Loading…
Reference in New Issue
Block a user