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:
parent
54a46521c1
commit
13eeeefa36
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user