Testeando error en geocoder.
This commit is contained in:
parent
98b9c48a6a
commit
bebfe12d74
2 changed files with 28 additions and 28 deletions
|
|
@ -17,6 +17,7 @@ class Geocoder:
|
|||
|
||||
if capturas_interface.not_geocoded_captura_exists():
|
||||
ad_data = capturas_interface.get_not_geocoded_captura()
|
||||
print(ad_data)
|
||||
else:
|
||||
continue
|
||||
|
||||
|
|
@ -26,12 +27,6 @@ class Geocoder:
|
|||
geo_data = {'latitude': None,
|
||||
'longitude': None,
|
||||
'precision': 'SIN RESULTADOS'}
|
||||
print(ad_data['referencia'],
|
||||
ad_data['fecha_captura'],
|
||||
geo_data['latitude'],
|
||||
geo_data['longitude'],
|
||||
geo_data['precision'])
|
||||
|
||||
capturas_interface.update_geo_data(ad_data['referencia'],
|
||||
ad_data['fecha_captura'],
|
||||
geo_data['latitude'],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue