From 14b460d2467e5e246f7350b99d4aee4db93a8867 Mon Sep 17 00:00:00 2001 From: MistEO Date: Tue, 14 Jan 2025 18:10:05 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E9=A2=84=E9=80=82=E9=85=8D=20maafw=20?= =?UTF-8?q?v3.0.0=20(#305)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- check_resource.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/check_resource.py b/check_resource.py index 229daef0..3ccb3b50 100644 --- a/check_resource.py +++ b/check_resource.py @@ -14,8 +14,8 @@ def check(dirs: List[Path]) -> bool: for dir in dirs: print(f"Checking {dir}...") - status = resource.post_path(dir).wait().status() - if not status.succeeded(): + status = resource.post_bundle(dir).wait().status + if not status.succeeded: print(f"Failed to check {dir}.") return False