1
0
mirror of https://github.com/calebstewart/pwncat.git synced 2024-11-27 19:04:15 +01:00

fixed handling of None results in run command

This commit is contained in:
Caleb Stewart 2021-11-28 16:27:58 -05:00
parent 54a46521c1
commit 13eeeefa36

View File

@ -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: