Skip to content

Commit

Permalink
[SEDONA-337] adjusted python module import for geometry fallback impl…
Browse files Browse the repository at this point in the history
…ementation (#936)
  • Loading branch information
wendrickje authored Aug 2, 2023
1 parent b90dd6b commit b371069
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/sedona/utils/geometry_serde.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ def deserialize(buf: bytearray) -> Optional[BaseGeometry]:

else:
# fallback to our general pure python implementation
from .geomserde_general import serialize, deserialize
from .geometry_serde_general import serialize, deserialize

except Exception as e:
warn(f'Cannot load geomserde_speedup, fallback to general python implementation. Reason: {e}')
from .geomserde_general import serialize, deserialize
from .geometry_serde_general import serialize, deserialize

0 comments on commit b371069

Please sign in to comment.