Skip to content

Commit

Permalink
Fix config manager load
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanW2 committed Aug 20, 2018
1 parent 8038bbc commit a93a22c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/configmanager/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
os.environ['PATH'] = "{0};{1}".format(os.path.join(srcpath, 'libs'), srcpath)
os.environ["GDAL_DRIVER_PATH"] = os.path.join(srcpath, 'libs')
os.environ["GDAL_DATA"] = os.path.join(srcpath, 'libs', 'gdal')
os.environ['OGR_SQLITE_PRAGMA'] = "journal_mode=delete"

os.environ['OGR_SQLITE_PRAGMA'] = "journal_mode=delete"
gdal.SetConfigOption("GDAL_DRIVER_PATH", os.environ['GDAL_DRIVER_PATH'])
gdal.SetConfigOption("GDAL_DATA", os.environ['GDAL_DATA'])
gdal.SetConfigOption('OGR_SQLITE_PRAGMA', os.environ['OGR_SQLITE_PRAGMA'])
Expand Down

0 comments on commit a93a22c

Please sign in to comment.