mirror of
https://github.com/HACKERALERT/Picocrypt.git
synced 2025-01-10 01:52:35 +01:00
Update Picocrypt.py
This commit is contained in:
parent
5c8413c847
commit
56c4f92561
@ -321,7 +321,7 @@ passwordLabel["state"] = "disabled"
|
|||||||
# A frame to make password input fill width
|
# A frame to make password input fill width
|
||||||
passwordFrame = tkinter.Frame(
|
passwordFrame = tkinter.Frame(
|
||||||
tk,
|
tk,
|
||||||
width=440,
|
width=(443 if platform.system()=="Darwin" else 440),
|
||||||
height=22
|
height=22
|
||||||
)
|
)
|
||||||
passwordFrame.place(x=(17 if platform.system()=="Darwin" else 20),y=66)
|
passwordFrame.place(x=(17 if platform.system()=="Darwin" else 20),y=66)
|
||||||
@ -348,7 +348,7 @@ cpasswordLabel["state"] = "disabled"
|
|||||||
# A frame to make confirm password input fill width
|
# A frame to make confirm password input fill width
|
||||||
cpasswordFrame = tkinter.Frame(
|
cpasswordFrame = tkinter.Frame(
|
||||||
tk,
|
tk,
|
||||||
width=440,
|
width=(443 if platform.system()=="Darwin" else 440),
|
||||||
height=22
|
height=22
|
||||||
)
|
)
|
||||||
cpasswordFrame.place(x=(17 if platform.system()=="Darwin" else 20),y=116)
|
cpasswordFrame.place(x=(17 if platform.system()=="Darwin" else 20),y=116)
|
||||||
@ -823,9 +823,9 @@ def start():
|
|||||||
def wrapper():
|
def wrapper():
|
||||||
global working,gMode
|
global working,gMode
|
||||||
# Try start() and handle errors
|
# Try start() and handle errors
|
||||||
#try:
|
try:
|
||||||
start()
|
start()
|
||||||
'''except:
|
except:
|
||||||
# Reset UI accordingly
|
# Reset UI accordingly
|
||||||
|
|
||||||
if gMode=="decrypt":
|
if gMode=="decrypt":
|
||||||
@ -836,7 +836,7 @@ def wrapper():
|
|||||||
statusString.set(unknownErrorNotice)
|
statusString.set(unknownErrorNotice)
|
||||||
dummy.focus()
|
dummy.focus()
|
||||||
finally:
|
finally:
|
||||||
sys.exit(0)'''
|
sys.exit(0)
|
||||||
|
|
||||||
# Encryption/decrypt is done is a separate thread so the UI
|
# Encryption/decrypt is done is a separate thread so the UI
|
||||||
# isn't blocked. This is a wrapper to spawn a thread and start it.
|
# isn't blocked. This is a wrapper to spawn a thread and start it.
|
||||||
|
Loading…
Reference in New Issue
Block a user