Fixes a "TypeError: argument of type 'NoneType' is not iterable" when self.options is None (#1037)

This commit is contained in:
Alex
2022-11-20 19:19:33 -05:00
committed by GitHub
parent 8938733292
commit ba15a8a4fe
+1 -1
View File
@@ -202,7 +202,7 @@ class RasterioProvider(BaseProvider):
crs_src = CRS.from_epsg(bbox_crs)
if 'crs' in self.options:
if self.options and 'crs' in self.options:
crs_dest = CRS.from_string(self.options['crs'])
else:
crs_dest = self._data.crs