config and attr access improvements

This commit is contained in:
Nick Sweeting 2024-08-20 18:31:21 -07:00
parent 4ae186dfca
commit 0285aa52a0
No known key found for this signature in database
15 changed files with 203 additions and 187 deletions

View file

@ -115,7 +115,7 @@ def uri_hash(uri: Union[str, bytes], salt: str=DEFAULT_ABID_URI_SALT) -> str:
if isinstance(uri, bytes):
uri_str: str = uri.decode()
else:
uri_str = uri
uri_str = str(uri)
# only hash the domain part of URLs
if '://' in uri_str: