diff --git a/rag/utils/s3_conn.py b/rag/utils/s3_conn.py index 135b50a7f..05c68880a 100644 --- a/rag/utils/s3_conn.py +++ b/rag/utils/s3_conn.py @@ -54,8 +54,6 @@ class RAGFlowS3: # used as the file prefix. This is especially useful when you're using the default bucket if self.prefix_path: fnm = f"{self.prefix_path}/{bucket}/{fnm}" - else: - fnm = f"{bucket}/{fnm}" return method(self, bucket, fnm, *args, **kwargs) return wrapper