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 🡪)") statusString.set(f"Completed. (Click here to show output 🡪)")
# Show Reed-Solomon stats if it fixed corrupted bytes # Show Reed-Solomon stats if it fixed corrupted bytes
if mode=="decrypt" and reedsoloFixed: if mode=="decrypt" and reedsoloFixed:
tmp = "s" if reedsoloFixed!=1 else ""
statusString.set( statusString.set(
f"Completed with {reedsoloFixed}"+ f"Completed with {reedsoloFixed} byte{tmp}"+
f" bytes fixed. (Click here to show output 🡪)" "fixed. (Click here to show output 🡪)"
) )
else: else:
if kept=="modified": if kept=="modified":