We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d1d15b9 + 7a23ebb commit e35c5ecCopy full SHA for e35c5ec
1 file changed
GeoHealthCheck/models.py
@@ -217,6 +217,8 @@ def __init__(self, owner, resource_type, title, url, tags):
217
self.latitude, self.longitude = util.geocode(url)
218
except Exception as err: # skip storage
219
LOGGER.exception('Could not derive coordinates: %s', err)
220
+ self.latitude = 0.0
221
+ self.longitude = 0.0
222
223
def __repr__(self):
224
return '<Resource %r %r>' % (self.identifier, self.title)
0 commit comments