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

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