Joshua1808 commited on
Commit
0361138
·
1 Parent(s): 600055d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -183,8 +183,8 @@ def tweets_localidad(buscar_localidad):
183
  st.set_option('deprecation.showPyplotGlobalUse', False)
184
 
185
 
186
- except error:
187
- st.text("Error")
188
 
189
  return tabla
190
 
 
183
  st.set_option('deprecation.showPyplotGlobalUse', False)
184
 
185
 
186
+ except NoneType:
187
+ st.text("Error: no existe ninguna localidad con ese Nombre ")
188
 
189
  return tabla
190