Merge pull request #140 from Pennyw0rth/neff-wcc

Fix array index
main
Marshall Hallenbeck 2023-12-08 09:22:05 -05:00 committed by GitHub
commit 046b1f9113
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -588,7 +588,7 @@ class HostChecker:
subkey_handle = ans["phkResult"]
if valueName is None:
return get_value(subkey_handle)[3]
return get_value(subkey_handle)[2]
else:
for _, name, data in subkey_values(subkey_handle):
if name.upper() == valueName.upper():