Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkralidis committed Mar 14, 2023
1 parent 8274bb1 commit bcfb273
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wis2box_api/plugins/process/wmo_ra.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def execute(self, data):
LOGGER.error(msg)
raise ProcessorExecuteError(msg)

driver = ogr.GetDriverByName("GeoJSON")
driver = ogr.GetDriverByName('GeoJSON')
dataSource = driver.Open(wmo_ra_geojson, 0)
layer = dataSource.GetLayer()

Expand All @@ -126,7 +126,7 @@ def execute(self, data):

for feature in layer:
if geometry.Intersects(feature.GetGeometryRef()):
outputs['wmo-ra'].append(feature.GetField("roman_num"))
outputs['wmo-ra'].append(feature.GetField('roman_num'))

return mimetype, outputs

Expand Down

0 comments on commit bcfb273

Please sign in to comment.