scripts/passwords-for: ensure keys are strings

This commit is contained in:
Franzi 2023-05-20 14:07:25 +02:00
parent b1567443ca
commit 3a5c944926
Signed by: kunsi
GPG Key ID: 12E3D2136B818350
1 changed files with 2 additions and 0 deletions

View File

@ -12,6 +12,8 @@ repo = Repository(path)
def print_faults(dictionary, keypath=[]):
for key, value in sorted(dictionary.items()):
key = str(key)
if isinstance(value, Fault):
try:
resolved_fault = value.value