Update Picocrypt.py

This commit is contained in:
Evan Su 2021-03-24 15:18:25 -04:00 committed by GitHub
parent 4647bf47f0
commit e1a113e7b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -1122,9 +1122,15 @@ if __name__=="__main__":
# Create Reed-Solomon header codec # Create Reed-Solomon header codec
tmp = Thread(target=createRsc,daemon=True) tmp = Thread(target=createRsc,daemon=True)
tmp.start() tmp.start()
# Prepare application # Prepare application
tmp = Thread(target=prepare,daemon=True) tmp = Thread(target=prepare,daemon=True)
tmp.start() tmp.start()
# Context menu selected file
if len(sys.argv)==2:
inputSelected("{"+sys.argv[1]+"}")
# Start tkinter # Start tkinter
tk.protocol("WM_DELETE_WINDOW",onClose) tk.protocol("WM_DELETE_WINDOW",onClose)
tk.mainloop() tk.mainloop()