Skip to content

Commit

Permalink
Fix capitalization error (#5)
Browse files Browse the repository at this point in the history
Correctly capitalize WATcloud.
  • Loading branch information
ben-z authored Jun 30, 2024
1 parent b4fba8c commit e2ba17c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/watcloud_uri.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e2ba17c

Please sign in to comment.