Testeando error en geocoder.
This commit is contained in:
parent
bebfe12d74
commit
0248e75606
2 changed files with 2 additions and 6 deletions
|
|
@ -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 = """
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue