Skip to content

Commit

Permalink
Comment: Updated test expression to remove logical short circuit. (#1144
Browse files Browse the repository at this point in the history
)

Could not re-run the CI tests, but change is correct.
  • Loading branch information
munahaf authored Dec 11, 2023
1 parent 9f91ad1 commit 5f57151
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion donkeycar/management/makemovie.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def init_salient(self, model):
output_name.append(layer.name)
layer_idx.append(i)

if output_name is []:
if output_name == []:
print("Failed to find the model layer named with 'out'. Skipping salient.")
return False

Expand Down

0 comments on commit 5f57151

Please sign in to comment.