Joshua1808 commited on
Commit
38110be
1 Parent(s): 8d37970

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -289,11 +289,11 @@ def run():
289
 
290
  if submit_button:
291
  # Condici贸n para el caso de que esten dos check seleccionados
292
- if ( termino == False and usuario == False):
293
  st.text('Error no se ha seleccionado ningun check')
294
  error=True
295
- elif ( termino == True and usuario == True):
296
- st.text('Error se han seleccionado los dos check')
297
  error=True
298
 
299
  if (error == False):
 
289
 
290
  if submit_button:
291
  # Condici贸n para el caso de que esten dos check seleccionados
292
+ if ( termino == False and usuario == False and localidad == False):
293
  st.text('Error no se ha seleccionado ningun check')
294
  error=True
295
+ elif ( termino == True and usuario == True and localidad == True):
296
+ st.text('Error se han seleccionado varios check')
297
  error=True
298
 
299
  if (error == False):