Update Picocrypt.py

This commit is contained in:
Evan Su 2021-04-06 17:03:17 -04:00 committed by GitHub
parent 7f82711c62
commit a37f9717e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -1127,9 +1127,10 @@ def work():
statusString.set(f"Completed. (Click here to show output 🡪)")
# Show Reed-Solomon stats if it fixed corrupted bytes
if mode=="decrypt" and reedsoloFixed:
tmp = "s" if reedsoloFixed!=1 else ""
statusString.set(
f"Completed with {reedsoloFixed}"+
f" bytes fixed. (Click here to show output 🡪)"
f"Completed with {reedsoloFixed} byte{tmp}"+
"fixed. (Click here to show output 🡪)"
)
else:
if kept=="modified":