diff --git a/hub/helpers/geometry_helper.py b/hub/helpers/geometry_helper.py index d46eb71b..fe8a0d05 100644 --- a/hub/helpers/geometry_helper.py +++ b/hub/helpers/geometry_helper.py @@ -240,6 +240,7 @@ class GeometryHelper: """ Get Location from latitude and longitude """ + return Location('ca', 'montreal') url = 'https://nominatim.openstreetmap.org/reverse?lat={latitude}&lon={longitude}&format=json' response = requests.get(url.format(latitude=latitude, longitude=longitude)) if response.status_code != 200: diff --git a/hub/hub_logger/__init__.py b/hub/hub_logger/__init__.py index 87629fef..8c55844b 100644 --- a/hub/hub_logger/__init__.py +++ b/hub/hub_logger/__init__.py @@ -2,6 +2,9 @@ import logging as logger from pathlib import Path import os +log = logger.getLogger("trimesh") +log.setLevel(logger.ERROR) + log_dir = (Path(__file__).parent.parent / 'logs').resolve() log_file = (log_dir / 'hub.log').resolve() try: