Skip to content

Commit

Permalink
Tools: fix flake8 test
Browse files Browse the repository at this point in the history
  • Loading branch information
khancyr committed Sep 4, 2023
1 parent e9b8636 commit db523b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tools/autotest/pysim/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)])
Expand Down

0 comments on commit db523b5

Please sign in to comment.