Skip to content

Commit

Permalink
fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkralidis committed Aug 23, 2021
1 parent e3a1796 commit 18d05fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/plugins/MetaSearch/search_backend.py
Expand Up @@ -97,7 +97,7 @@ def query_records(self, bbox=[], keywords=None, limit=10, offset=1):
if bbox and bbox != ['-180', '-90', '180', '90']:
minx, miny, maxx, maxy = bbox
self.constraints.append(BBox([miny, minx, maxy, maxx],
crs='urn:ogc:def:crs:EPSG::4326'))
crs='urn:ogc:def:crs:EPSG::4326'))

# keywords
if keywords:
Expand Down Expand Up @@ -215,7 +215,7 @@ def records(self):
bbox2 = rec['properties']['extent']['spatial']['bbox'][0]
if bbox2:
rec1['bbox'] = bbox_list_to_dict(bbox2)
except KeyError as err:
except KeyError:
pass

recs.append(rec1)
Expand Down

0 comments on commit 18d05fb

Please sign in to comment.