Update Picocrypt.py

This commit is contained in:
Evan Su 2021-04-06 10:33:23 -04:00 committed by GitHub
parent 6882d78efd
commit 970915fbf3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 3 deletions

View File

@ -61,7 +61,7 @@ reedsoloErrors = False
# Strings # Strings
strings = [ strings = [
"File metadata (used to store some text along with the file):", "File metadata (optional):",
"Compressing files together...", "Compressing files together...",
"Error. The provided password is incorrect.", "Error. The provided password is incorrect.",
"Error. The input file is corrupted.", "Error. The input file is corrupted.",
@ -222,6 +222,7 @@ def saveAs():
), ),
confirmoverwrite=True confirmoverwrite=True
) )
if tmp:
outputInput.delete(0,tkinter.END) outputInput.delete(0,tkinter.END)
outputInput.insert(0,(tmp if mode=="decrypt" else tmp[:-4])) outputInput.insert(0,(tmp if mode=="decrypt" else tmp[:-4]))
saveAsBtn = tkinter.ttk.Button( saveAsBtn = tkinter.ttk.Button(