Skip to content

Commit

Permalink
Adds exception handling
Browse files Browse the repository at this point in the history
  • Loading branch information
jlaura committed Jun 7, 2024
1 parent fb77349 commit b133224
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plio/io/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
gdal = importlib.import_module('osgeo.gdal')
osr = importlib.import_module('osgeo.osr')
ogr = importlib.import_module('osgeo.ogr')
gdal.UseExceptions()
except:
gdal = osr = ogr = None

Expand Down

0 comments on commit b133224

Please sign in to comment.