Skip to content

Commit 8849590

Browse files
author
Raunak Bhagat
committed
Avoid turning str into a tuple[str]
1 parent bf983c3 commit 8849590

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

daft_launcher/commands.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,8 @@ def submit(
8989
config: Path,
9090
identity_file: Optional[Path],
9191
working_dir: Path,
92-
cmd_args: tuple[str],
92+
cmd: str,
9393
):
94-
cmd = " ".join([arg for arg in cmd_args])
9594
process = subprocess.Popen(
9695
helpers.ssh_command(
9796
helpers.get_ip(config), Path(identity_file) if identity_file else None

0 commit comments

Comments
 (0)