mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-21 16:18:29 -04:00
Tools: Comparison to False
should be cond is False
or if not cond:
This commit is contained in:
parent
9f4dbb2727
commit
279adeb1b4
@ -190,7 +190,7 @@ def _parse_size_output(s, s_all, totals=False):
|
||||
lines = s.splitlines()[1:]
|
||||
l = []
|
||||
for line in lines:
|
||||
if pattern.match(line) or totals==False:
|
||||
if pattern.match(line) or totals is False:
|
||||
row = line.strip().split()
|
||||
|
||||
# check if crash_log wasn't found
|
||||
|
Loading…
Reference in New Issue
Block a user