From 5d416a121f011cad8fa4b6c6071345a4cd9c894c Mon Sep 17 00:00:00 2001 From: Filips Nastins Date: Sun, 10 Nov 2024 15:17:01 +0100 Subject: [PATCH] Revert "chore: fix type error" This reverts commit 7cc5c3d1a23623b84394d190587a6e1b415d6ac2. --- src/tomodachi_testcontainers/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tomodachi_testcontainers/utils.py b/src/tomodachi_testcontainers/utils.py index 4f2b5629..4181edec 100644 --- a/src/tomodachi_testcontainers/utils.py +++ b/src/tomodachi_testcontainers/utils.py @@ -41,7 +41,7 @@ def copy_files_to_container(container: Container, host_path: Path, container_pat else: tar.add(host_path, arcname=host_path.name) tar_stream.seek(0) - container.put_archive(path=container_path.name, data=tar_stream) + container.put_archive(path=container_path, data=tar_stream) def copy_files_from_container(container: Container, container_path: Path, host_path: Path) -> None: