Skip to content

Commit

Permalink
Fix importing Iterable on Python 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
claudiodsf committed Oct 11, 2021
1 parent 6333874 commit 9a5aa65
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion nllgrid/NLLGrid.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@
from ctypes import Union, c_float, c_ushort
from copy import deepcopy
from pyproj import Proj
from collections import Iterable
try:
from collections.abc import Iterable
except ImportError:
from collections import Iterable


valid_grid_types = (
Expand Down

0 comments on commit 9a5aa65

Please sign in to comment.