diff --git a/rtree/index.py b/rtree/index.py index e9d5b308..4e7ea09a 100644 --- a/rtree/index.py +++ b/rtree/index.py @@ -7,7 +7,7 @@ import pprint import warnings from collections.abc import Iterator, Sequence -from typing import Any, Generator, Literal, overload +from typing import Any, Literal, overload from . import core from .exceptions import RTreeError @@ -197,7 +197,6 @@ def __init__( "TPR-Tree type not supported with version of libspatialindex" ) - if filename: self.properties.storage = RT_Disk self.properties.filename = filename