Skip to content

Commit 014a529

Browse files
author
Your Name
committed
Update reading and error messages
1 parent 2be4b1f commit 014a529

2 files changed

Lines changed: 261 additions & 113 deletions

File tree

cecli/helpers/hashpos/hashpos.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,6 @@ def normalize(hashpos_str: str) -> str:
221221
# If no pattern matches, raise error
222222
raise ValueError(
223223
f"Invalid HashPos format '{hashpos_str}'. "
224-
r"Expected \"{hash_prefix}\" "
225-
r"where hash_prefix is exactly 4 characters from the set [0-9a-zA-Z\~_@]."
224+
r"Expected \"{content ID}\" "
225+
r"where content ID is exactly 4 characters from the set [0-9a-zA-Z\~_@]."
226226
)

0 commit comments

Comments
 (0)