mirror of https://github.com/ArduPilot/ardupilot
Tools: fix flake8 test
This commit is contained in:
parent
d620a1905a
commit
c96294867a
|
@ -544,7 +544,7 @@ def start_SITL(binary,
|
|||
cmd.append("--disable-fgview")
|
||||
|
||||
if defaults_filepath is not None:
|
||||
if type(defaults_filepath) == list:
|
||||
if isinstance(defaults_filepath, list):
|
||||
defaults = [reltopdir(path) for path in defaults_filepath]
|
||||
if len(defaults):
|
||||
cmd.extend(['--defaults', ",".join(defaults)])
|
||||
|
|
Loading…
Reference in New Issue