From e2ba17c64db3689efbd8ef264228ea7ac8e497d3 Mon Sep 17 00:00:00 2001 From: Ben Zhang Date: Sat, 29 Jun 2024 17:38:30 -0700 Subject: [PATCH] Fix capitalization error (#5) Correctly capitalize WATcloud. --- src/watcloud_uri.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/watcloud_uri.py b/src/watcloud_uri.py index c2a5ce4..991740e 100644 --- a/src/watcloud_uri.py +++ b/src/watcloud_uri.py @@ -20,10 +20,10 @@ class WATcloudURI: def __init__(self, input_url): parsed_url = urlparse(input_url) if parsed_url.scheme != "watcloud": - raise ValueError("Invalid WATCloud URI: protocol must be 'watcloud:'") + raise ValueError("Invalid WATcloud URI: protocol must be 'watcloud:'") if parsed_url.hostname != "v1": raise ValueError( - f"Invalid WATCloud URI: unsupported version '{parsed_url.hostname}'. Only 'v1' is supported" + f"Invalid WATcloud URI: unsupported version '{parsed_url.hostname}'. Only 'v1' is supported" ) self.sha256 = extract_sha256(parsed_url.path)