Skip to content

Commit

Permalink
#41 explicitly call ogr.UseExceptions() in anticipation of gdal 4
Browse files Browse the repository at this point in the history
  • Loading branch information
roelderickx committed Sep 10, 2023
1 parent c5c7e28 commit 5e22dd1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ogr2osm/ogr_datasource.py
Expand Up @@ -17,6 +17,8 @@

from .version import __program__

ogr.UseExceptions()

class OgrDatasource:
def __init__(self, translation, source_proj4=None, source_epsg=None, gisorder=False, \
source_encoding='utf-8'):
Expand Down

0 comments on commit 5e22dd1

Please sign in to comment.