test regarding error.yml

This commit is contained in:
tooomm 2018-05-24 19:09:24 +02:00 committed by GitHub
parent 4a79afc0de
commit 0cb9bb1948
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -332,7 +332,7 @@ def remove_corrected_errors(errorlog=[], card_corrections=[], print_fixed=False)
removeError = True
if not removeError:
if not error['name'] in errorlog2:
errorlog2[error['name']] = {}
errorlog2[error['name']] = ""
if not 'value' in error:
error['value'] = ""
errorlog2[error['name']][error['key']] = error['value']