Update Picocrypt.py

This commit is contained in:
Evan Su 2021-04-06 16:34:08 -04:00 committed by GitHub
parent 0f39ffb0ee
commit 659817744c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -924,10 +924,12 @@ def work():
if headerBroken: if headerBroken:
# Stop if user chose not to keep broken output # Stop if user chose not to keep broken output
if not shouldKeep: if not shouldKeep:
statusString.set(strings[8]) statusString.set(strings[4])
fin.close() fin.close()
fout.close() try:
remove(outputFile) remove(outputFile)
except:
pass
setDecryptionUI() setDecryptionUI()
return return
else: else: