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

View file

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