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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -183,7 +183,7 @@ def tweets_localidad(buscar_localidad):
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
 
183
  st.set_option('deprecation.showPyplotGlobalUse', False)
184
 
185
 
186
+ except FileNotFoundError:
187
  st.text("Error: no existe ninguna localidad con ese Nombre ")
188
 
189
  return tabla