From 5f57151659134b16eb432a623f463ea0c71b89dd Mon Sep 17 00:00:00 2001 From: Munawar Date: Mon, 11 Dec 2023 13:21:54 -0800 Subject: [PATCH] Comment: Updated test expression to remove logical short circuit. (#1144) Could not re-run the CI tests, but change is correct. --- donkeycar/management/makemovie.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/donkeycar/management/makemovie.py b/donkeycar/management/makemovie.py index 40b1047ed..d17e5f34b 100755 --- a/donkeycar/management/makemovie.py +++ b/donkeycar/management/makemovie.py @@ -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