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