diff --git a/pwncat/commands/run.py b/pwncat/commands/run.py index 5375f03..0dd9561 100644 --- a/pwncat/commands/run.py +++ b/pwncat/commands/run.py @@ -89,7 +89,7 @@ class Command(CommandDefinition): if isinstance(result, list): result = [r for r in result if not r.hidden] - elif result.hidden: + elif result is not None and result.hidden: result = None if args.raw: