diff --git a/mfbatch/__main__.py b/mfbatch/__main__.py index 2a02bda..ac630c4 100644 --- a/mfbatch/__main__.py +++ b/mfbatch/__main__.py @@ -101,7 +101,7 @@ def main(): if options.help_commands: print("Command Help\n------------") commands = [command for command in dir(BatchfileParser) if - not command.startswith('_') or command is not "eval"] + not command.startswith('_') or command != "eval"] print(f"{inspect.cleandoc(BatchfileParser.__doc__ or '')}\n\n") for command in commands: meth = getattr(BatchfileParser, command)