By default, scripts return a boolean value to the sequence. This is done using a bool()
-cast.
Hence, if your script has no return value, it is internally interpreted as bool(None)
which gives you False
.
If your script has an explicitly defined return statement, the bool()
-cast naturally return True
.