From 7f38cd8b6299b8c91a0414ddf0191d3a6372899e Mon Sep 17 00:00:00 2001 From: "kyj@bowong.ai" Date: Tue, 1 Apr 2025 11:12:28 +0800 Subject: [PATCH] =?UTF-8?q?FIX=20=E4=BF=AE=E5=A4=8D=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nodes/cos.py | 2 +- nodes/s3.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nodes/cos.py b/nodes/cos.py index 755cc94..78f5978 100644 --- a/nodes/cos.py +++ b/nodes/cos.py @@ -96,7 +96,7 @@ class COSUpload: ), ] ) - loguru.logger.info(f"COS UPLOAD {path} to {os.path.join(cos_bucket, subfolder)}") + loguru.logger.info(f"COS UPLOAD {path} to {cos_bucket}/{subfolder}") for i in range(0, 10): try: with open( diff --git a/nodes/s3.py b/nodes/s3.py index 274ebd9..1f9383b 100644 --- a/nodes/s3.py +++ b/nodes/s3.py @@ -65,7 +65,7 @@ class S3Upload: CATEGORY = "不忘科技-自定义节点🚩" def upload(self, s3_bucket, path, subfolder): - loguru.logger.info(f"S3 UPLOAD {path} to {os.path.join(s3_bucket, subfolder)}") + loguru.logger.info(f"S3 UPLOAD {path} to {s3_bucket}/{subfolder}") try: with open(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "config.yaml"), encoding="utf-8", mode="r+") as f: