Update check.py

This commit is contained in:
Li Hua 2024-09-18 18:15:30 +08:00 committed by GitHub
parent 476c9fb6e4
commit ca4fb9e23e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

2
.github/check.py vendored
View file

@ -137,7 +137,7 @@ with open("status.csv", "w") as csvfile:
status = revoked_keybox_list.get(serial_number)
kb.rename(Path(dead if status else survivor) / f"{serial_number}.xml")
kb.rename((dead if status else survivor) / f"{serial_number}.xml")
values.append("" if not status else f"{status['reason']}")
output.append(dict(zip(fieldnames, values)))