File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 99import conexion
1010
1111class Login (Frame ):
12+ executing = False
13+
1214 def __init__ (self , master , * args ):
1315 super ().__init__ ( master ,* args )
1416 self .user_marcar = "Ingrese su correo"
@@ -65,6 +67,9 @@ def verificacion_users(self):
6567 password_entry = self .entry2 .get ()
6668
6769 if users_entry != self .user_marcar or self .contra_marcar != password_entry :
70+ if self .executing :
71+ return None
72+
6873 users_entry = str ("'" + users_entry + "'" )
6974 password_entry = str ("'" + password_entry + "'" )
7075
@@ -91,6 +96,7 @@ def verificacion_users(self):
9196 dato2 = dato2 [0 ][2 ]
9297
9398 if dato1 != [] and dato2 != []:
99+ self .executing = True
94100 self .acceder_ventana_dos ()
95101 else :
96102 self .indica1 ['text' ] = 'Usuario incorrecto'
You can’t perform that action at this time.
0 commit comments