From 2932481f31e05387e4c4324b9eddcc8abee4c41e Mon Sep 17 00:00:00 2001 From: anton <1537206@mail.ru> Date: Sun, 2 Jul 2023 13:24:18 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D1=8B=20=D0=B7=D0=BD=D0=B0=D1=87=D0=B5=D0=BD=D0=B8=D1=8F?= =?UTF-8?q?=20=D0=BA=D0=BD=D0=BE=D0=BF=D0=BE=D0=BA=20enter=20=D0=B8=20nump?= =?UTF-8?q?ad-enter=20=D0=B4=D0=BB=D1=8F=20PySipmleGUI>=3D4.60.3.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 6 +++--- requirements.txt | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/main.py b/main.py index f3d71fb..263406e 100755 --- a/main.py +++ b/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() diff --git a/requirements.txt b/requirements.txt index 32658c9..f797083 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,2 @@ -PySimpleGUI~=4.46.0 +PySimpleGUI~=4.60.3 cryptocode~=0.1 \ No newline at end of file