Skip to content
Snippets Groups Projects
Commit f891756e authored by Frisinghelli Daniel's avatar Frisinghelli Daniel
Browse files

Close gdal vrt dataset for safety reasons.

parent 854ffb6f
No related branches found
No related tags found
No related merge requests found
......@@ -541,6 +541,8 @@ def stack_tifs(filename, tifs, **kwargs):
gdal.PushErrorHandler('CPLQuietErrorHandler')
gdal.Translate(str(filename), vrt_ds, **kwargs)
del vrt_ds
return
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment