From 4e7f22ee3445c68870aa8365aa4cc6644e9887a8 Mon Sep 17 00:00:00 2001 From: Torsten Kilias Date: Wed, 6 Mar 2024 16:52:58 +0100 Subject: [PATCH] Fix path used in download_from_bucketfs_to_fileobj --- exasol_bucketfs_utils_python/bucketfs_location.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/exasol_bucketfs_utils_python/bucketfs_location.py b/exasol_bucketfs_utils_python/bucketfs_location.py index cb6f769b..c1051b10 100644 --- a/exasol_bucketfs_utils_python/bucketfs_location.py +++ b/exasol_bucketfs_utils_python/bucketfs_location.py @@ -60,7 +60,8 @@ def get_complete_file_path_in_bucket( def download_from_bucketfs_to_fileobj(self, bucket_file_path: str, fileobj: IO): download.download_from_bucketfs_to_fileobj(fileobj=fileobj, - bucket_file_path=bucket_file_path, + bucket_file_path=self.get_complete_file_path_in_bucket( + bucket_file_path), bucket_config=self.bucket_config) def download_from_bucketfs_to_string(self, bucket_file_path: str) -> str: