I'm trying to check a line of output from my code, to see if it contains "Active: Exited" or "Active: Inactive".
I've tried to use:
if "Active: Exited" or "Active; Inactive" in output:
but this just triggers no matter what is in the output.
If I just say:
if "Active: Exited" in output:
it works as it's supposed to.