Testeando error en geocoder.

This commit is contained in:
pablomartincalvo 2018-10-22 00:01:36 +02:00
parent bebfe12d74
commit 0248e75606
2 changed files with 2 additions and 6 deletions

View file

@ -79,12 +79,8 @@ class CapturasInterface():
WHERE `precision` IS NULL
LIMIT 1
"""
cursor_result = self.anunciosdb.query(query_statement, dictionary=True)
try:
return cursor_result.fetchone()
except:
return None
return cursor_result.fetchone()
def update_geo_data(self, referencia, fecha_captura, latitude, longitude, precision):
query_statement = """