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,8 +222,9 @@ def saveAs():
), ),
confirmoverwrite=True confirmoverwrite=True
) )
outputInput.delete(0,tkinter.END) if tmp:
outputInput.insert(0,(tmp if mode=="decrypt" else tmp[:-4])) outputInput.delete(0,tkinter.END)
outputInput.insert(0,(tmp if mode=="decrypt" else tmp[:-4]))
saveAsBtn = tkinter.ttk.Button( saveAsBtn = tkinter.ttk.Button(
tk, tk,
text="Save as", text="Save as",