diff --git a/check_resource.py b/check_resource.py index 229daef..3ccb3b5 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