Skip to content

Commit

Permalink
mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
leoschwarz committed Nov 6, 2024
1 parent d8bf11d commit fd2686a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app_runner/src/app_runner/util/scp.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def scp(source: str | Path, target: str | Path, *, user: str | None = None, mkdi
if mkdir:
if target_remote:
host, path = target.split(":", 1)
parent_path = str(Path(path).parent)
parent_path = Path(path).parent
logger.debug(f"ssh {host} mkdir -p {parent_path}")
subprocess.run(["ssh", host, "mkdir", "-p", parent_path], check=True)
else:
Expand Down

0 comments on commit fd2686a

Please sign in to comment.