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:
# Stop if user chose not to keep broken output
if not shouldKeep:
statusString.set(strings[8])
statusString.set(strings[4])
fin.close()
fout.close()
remove(outputFile)
try:
remove(outputFile)
except:
pass
setDecryptionUI()
return
else: