Добавлены значения кнопок enter и numpad-enter для PySipmleGUI>=4.60.3.
parent
19eca87c7e
commit
2932481f31
6
main.py
6
main.py
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
# Key Master v1.02
|
||||
# 24/12/2021
|
||||
# Key Master v1.03
|
||||
# 02/07/2023
|
||||
# https://t.me/ssleg © 2021
|
||||
|
||||
import sqlite3
|
||||
|
@ -275,7 +275,7 @@ def system_login():
|
|||
event, values = window.read()
|
||||
if event == Sg.WIN_CLOSED:
|
||||
break
|
||||
if event == 'Ok' or event in ('\r', qt_enter_key1, qt_enter_key2):
|
||||
if event == 'Ok' or event in ('\r', qt_enter_key1, qt_enter_key2, 'Return:36', 'KP_Enter:104'):
|
||||
input_word = values[0]
|
||||
if len(input_word) >= 4:
|
||||
password = sha256(input_word.encode()).hexdigest()
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
PySimpleGUI~=4.46.0
|
||||
PySimpleGUI~=4.60.3
|
||||
cryptocode~=0.1
|
Loading…
Reference in New Issue