--- a/report.py +++ b/report.py @@ -109,7 +109,7 @@ for key in keys: if type(rep[key]) is dict: for item in rep[key]: - rep[key][item] = str(rep[key][item]) + rep[key][item] = rep[key][item] template+= key.replace('_', ' ') + ': ' + str(rep[key]) + '\n' return template