fix typo bug

Authored by: bashonly
This commit is contained in:
bashonly 2024-06-13 18:48:59 -05:00
parent d58fd084a2
commit 4f26051ccf
No known key found for this signature in database
GPG Key ID: 783F096F253D15B0

View File

@ -2171,7 +2171,7 @@ def _extra_manifest_info(self, info, manifest_url):
if key_query is not None:
info['extra_param_to_key_url'] = (
urllib.parse.urlparse(key_query).query or key_query
or urllib.parse.urlparse(key_query).query or None)
or urllib.parse.urlparse(manifest_url).query or None)
def hex_or_none(value):
return value if re.fullmatch(r'(0x)?[\da-f]+', value, re.IGNORECASE) else None