From f6e465e450c34ca4354fb9d06b943960ee3b0094 Mon Sep 17 00:00:00 2001 From: JSCU-CNI <121175071+JSCU-CNI@users.noreply.github.com> Date: Tue, 15 Oct 2024 18:04:55 +0200 Subject: [PATCH] fix broken python command --- dissect/target/tools/shell.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dissect/target/tools/shell.py b/dissect/target/tools/shell.py index 502df009a..bdc15703a 100644 --- a/dissect/target/tools/shell.py +++ b/dissect/target/tools/shell.py @@ -1431,7 +1431,7 @@ def target_shell(targets: list[Target], cli_cls: type[TargetCmd], commands: list run_cli(cli) -def python_shell(targets: list[Target], commands: list[str] | None) -> None: +def python_shell(targets: list[Target], commands: list[str] | None = None) -> None: """Helper method for starting a (I)Python shell with multiple targets.""" banner = "Loaded targets in 'targets' variable. First target is in 't'." ns = {"targets": targets, "t": targets[0]}